0Pricing
Linux Command Line & Bash Scripting Mastery · Lesson

Disk Usage & System Info (df, du, uname)

Monitor disk space, file sizes, and retrieve system information using commands like 'df', 'du', and 'uname'.

Why Monitor Disk & System Info?

Understanding your system's disk usage and core information is crucial for maintaining a healthy and efficient Linux environment.

  • Resource Management: Know when disk space is running low.
  • Troubleshooting: Identify oversized files or directories.
  • System Awareness: Get details about your operating system kernel and architecture.

Checking Free Disk Space with `df`

The df command, short for 'disk free', displays the amount of available disk space for filesystems mounted on your system.

It shows:

  • Filesystem name
  • Total size
  • Used space
  • Available space
  • Usage percentage
  • Mount point

All lessons in this course

  1. Advanced Text Manipulation (sed, awk)
  2. Archiving and Compression (tar, gzip, unzip)
  3. Disk Usage & System Info (df, du, uname)
  4. Sorting & Deduplicating Data (sort, uniq, cut)
← Back to Linux Command Line & Bash Scripting Mastery