roberto wrote: > hello > i use the "df -h" or "du -h"command to check how much disk space is > occupied by files and directories > > but is it possible to sort the output list in an order such that the > first (or conversely the last) item is the largest in size ? > > thank you
How about du --max-depth=1 -m | sort -g or du -kx ./ | sort -n raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]