How do I check hard drive space on Linux?

How do I check hard drive space on Linux?
Answer
Linux command to check disk space
  1. df command – Shows the amount of disk space used and available on Linux file systems.
  2. du command – Display the amount of disk space used by the specified files and for each subdirectory.
  3. btrfs fi df /device/ – Show disk space usage information for a btrfs based mount point/file system.
 

Tìm kiếm

Back
Top