Disk Free: df



next up previous contents index
Next: Disk Usage: du Up: Managing Disk Space Previous: Disk UsageIs

Disk Free: df

The df command reports the amount of ``disk free'' for each file system. Use it to check how much space is left in your home directory as well as in system directories like /tmp and /. The Unix systems derived from BSD give a nice looking df report showing the file system size, the amount used (in both kilobytes and percentage), and the amount available. The Unix systems derived from System V give a cruder df report showing the amount available in the file system in blocks of 512-byte size.gif With the -t option, df shows the total number of blocks as well:   

sysV$ df -t   	System V disk free command.   
/      (/dev/root       ):     3912 blocks    17789 i-nodes   	   
                    total:   201402 blocks    25168 i-nodes   	   
bsd% df   	BSD disk free command.   Filesystem       kbytes    used   avail capacity  Mounted on   	   
/dev/sd0a         15671    7612    6491    54%    /   	   
/dev/sd0g        143119  120980    7827    94%    /usr   	   
/dev/sd0e         30655    2494   25095     9%    /var   	   
/dev/sd0d         10207    1784    7402    19%    /tmp   	   



next up previous contents index
Next: Disk Usage: du Up: Managing Disk Space Previous: Disk UsageIs