Sorting output of ls by date
A simple ls lists directory contents by name. To list by time, use
$ ls -t
To see time in the listing
$ ls -lt
To show the most recently modified files first
$ ls -ltr
A simple ls lists directory contents by name. To list by time, use
$ ls -t
To see time in the listing
$ ls -lt
To show the most recently modified files first
$ ls -ltr