Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [CL: Command Line questions]

CL-03: What is the size of a directory?

The command you are looking for is "du"; For example, how to estimate the size of my home directory:

CODE
arusabal@mandrakeusers ~$ du -hs /home/arusabal

318M    /home/arusabal

arusabal@mandrakeusers ~$


References:
How to get total size of directory in shell?
man du
man df
man ls

[PREV: "CL-02: How do I move/rename a file from the command line?"] [NEXT: "CL-04: How can I use shortcuts in the command line?"]