How to Find the Amount of Free Disk Space in Ubuntu
Topic: Ubuntu / LinuxPrev|Next
Answer: Use the df
Command
You can use the df
command to find the amount of free space on your hard drive in Ubuntu.
df -h
The df
displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown.
With -h
option, df
will print sizes in human readable format (in powers of 1024 e.g., 1K, 150M, 2G).
Related FAQ
Here are some more FAQ related to this topic: