Get disk free space in Linux

The command from the shell to view the free disk space in Linux is:

df -h

The -h flag makes sure the output is in human readable format (i.e. 2G instead of 1K blocks)

Tags: , ,

Leave a Reply