Pages

Labels

Monday, 24 March 2014

Linux / Unix: Checking Free Disk Spac

How do I check free disk space in Linux or UNIX operating system?

Using this command we can find the free disk space in Liunx or Unix operating system

About DF -: Report the amount of disk space being used by file systems.

 Syntax :- df [OPTION]... [FILE]...

Command 
Type the following command:

$ df -h


Sample outputs:



 The following example will provide information only for the partition/device that contains the /home directory:

# df /home
# df -h /home


To see inode usage instead of block usage, type:

# df -i
# df -i /
# df -ih /
# df -i /dev/md0
 




 

Sample text

Sample Text

Sample Text

 
Blogger Templates