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).
Use the
df
CommandYou can use the
df
command to find the amount of free space on your hard drive in Ubuntu.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
need an explanation for this answer? contact us directly to get an explanation for this answer-h
option,df
will print sizes in human readable format (in powers of 1024 e.g., 1K, 150M, 2G).