Use the command "du". Go into the directory and type "du", or "du -s" to get just the total. I belive "du -k" will get you the size in kilobytes. Check out the man pages..Regards
You don't have to cd into the directory to use du to see it's contents, just do du <directory name>. Part of what du does is cd to that directory. Also, I prefer the -h (human readable) it'll automatically do the K, M, G thang depending.
I'm framilier with that. -h is what I usually use when doing df, which was happy to report that my / partition was 100% full today (made a backup of /etc/httpd, had to move it obviously). No wonder apache wouldn't start, with no reason to boot. Hence why I want to see how big the duirectories are..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.