Linux 101: Check Disk Space Command

276746

I recently switched from a Windows server to a Linux server operating system. I am using Ubuntu LTS server. How do I find out disk space utilization information using command line option?

Linux command to check disk space

  • df command – Shows the amount of disk space used and available on Linux file systems.
  • du command – Display the amount of disk space used by the specified files and for each subdirectory.
  • btrfs fi df /device/ – Show disk space usage information for a btrfs based mount point/file system. Read more

Read more….