Sunday, February 6, 2011

How to check the size of a folder (Folder Size) in unix

If you're using unix (or linux, e.g debian or ubuntu) you may want to check the size of a folder from time to time. When you need to check the folder size of a particular folder you can use the du command.

Simply use the following format to find the size of a folder.
du -hs /path/to/folder

0 comments:

Post a Comment