Contents
How do I check disk space on a specific directory in Linux?
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.
How do I see disk usage in Linux?
Useful df “disk filesystem” Commands to Check Disk Space in Linux
- FileSystem — provides the name of the file system. …
- df -m — to display information of file system usage in MB.
- df -k — to display file system usage in KB.
- Useful du “disk Usage” Commands to Check usage of Space in Linux.