Jan 31, 2005 #1 pirolgra Technical User Joined Nov 11, 2002 Messages 25 Location IT what's the command to sort the directory in descending order ? thanks
Jan 31, 2005 #2 KenCunningham Technical User Joined Mar 20, 2001 Messages 8,475 Location 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 Thread starter #3 pirolgra Technical User Joined Nov 11, 2002 Messages 25 Location IT By size Upvote 0 Downvote
Jan 31, 2005 #4 columb IS-IT--Management Joined Feb 5, 2004 Messages 1,231 Location 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