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 find out what is taking up disk space in Linux?
Check Disk Usage in Linux Using the du Command
du -sh /home/user/Desktop — the -s option will give us the total size of a specified folder (Desktop in this case). du -m /home/user/Desktop — the -m option provides us with folder and file sizes in Megabytes (we can use -k to see the information in Kilobytes).
How can I see where my disk space is being used?
To access this information perform the following:
- Open Settings (Start – Settings)
- Select System.
- Select Storage.
- Select the drive you wish to see detail for.
- The storage usage, broken down by data type, will be displayed.