Posts Tagged ‘disk’

Get disk free space in Linux

Monday, December 10th, 2007

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)