Jan 31, 2005 #1 pirolgra Technical User Nov 11, 2002 25 IT what's the command to sort the directory in descending order ? thanks
Jan 31, 2005 #2 KenCunningham Technical User Mar 20, 2001 8,475 GB By date? ls -ltr will give a list of files, oldest first. ls -lt will give you the newest first (add a | pg to pause one page at a time). Upvote 0 Downvote
By date? ls -ltr will give a list of files, oldest first. ls -lt will give you the newest first (add a | pg to pause one page at a time).
Jan 31, 2005 #4 columb IS-IT--Management Feb 5, 2004 1,231 EU I don't think there is one - I tryed man ls which is where you should start. What I use to sort by size is Code: du -sk * | sort -rn | pg Columb Healy Upvote 0 Downvote
I don't think there is one - I tryed man ls which is where you should start. What I use to sort by size is Code: du -sk * | sort -rn | pg Columb Healy