ls -Shrs <Directory>

-S Sort by size(descending)
-r Reverse (makes it ascending)
-h Human readable size (kb, mb)
-s Print sizes too

Of course. You could do it using awk too.
---
Ashok `ScriptDevil` Gautham
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in 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