Here you can search and view our site Knowledge Base. To find a specific article, use KB-article number format (ex. KB-1)
Article number: kb-39
Q. In CentOS, how to find free disk space?
A. Try this for "diskfree":
# df -h
df options:
-a: show all file system disk usage
-k: display output in K bytes
-i: display inode infomation
-t: Display disk space usage for each of the specified type of File system
-T: display file system type
# du -c
du options:
-a: write counts for all files, not just directories
-s: display only a total for each argument
-b: display output in bytes( the default is K)
-k: display output in K bytes
-c: produce a grand total
-l: count sizes many times if hard linked