Friday, January 29, 2010

Disk space checking with df and du

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi


The du and df are two similar disk management commands. du, the directory usage, command shows the amount of space used by each file in and under the current directory. df, the disk free, command shows the amount of space available on each hard disk volume.
Type df without options, to see amount of space available on all the mounted file systems on Linux computer.

# df



To get output in more human readable form, use –h option as follows:

# df -h



du command, with no option shows all directories below the current directory, along with space consumed by each directory. du is also a good way to check the space being used by particular user or in a particular file system partition. Here also we can use –h option to get the output in more human readable format.

# du -h




No comments:

Post a Comment