Thursday, February 28, 2008
Question: What command do I need to execute to know the size of a folder, including its subdirectory?
Ans: To calculate the total folder size of folder "bin"
$ du -sh bin/
-s, --summarize (display only a total for each argument)
-h, --human-readable ( print sizes in human readable format (e.g., 1K 234M 2G))
© Jadu Saikia www.UNIXCL.com