$ cd /usr

$ du -ksc * | sort -rn | less

shows the sorted view of space occupied by files and directories under /usr.

Of course this is not very useful as you cannot remove anything there.

You should try it on some user created dir.

And you should also know that the du -hsc switch displays in a much
more user friendly format and
you don't have to calculate how man KBs make and MB...

It is far more useful.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to