Sunday, March 22, 2009

Useful LINUX Commands

Find free disk space (info displayed in terms of Bytes using the –kh
variable)

df -kh

Find size of directories that exist within current directory (h variable displays info in human readable format)

du –h

Find size of specified directory

du dirname

Remove non-empty directory

rm –rf dirname

No comments:

Post a Comment