The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-29-2001
Optimus_P Optimus_P is offline
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
use the ls command w/ the -latr swithchs will give the list of files from oldest to newst modified.

Code:
#man ls

-t        Sort by time stamp (latest first)  instead  of  by
               name.  The  default is the last modification time.
               (See -u and -c.)

-u        Use time of last access instead of last  modifica-
               tion  for sorting (with the -t option) or printing
               (with the -l option).