How can I sort the output of ls by last modified date?
I can't find the answer on Google without digging around, an there is no answer on Stack Overflow either.
|
feedback
|
This question came from our site for professional and enthusiast programmers.
or (for reverse, most recent at bottom):
The | |||||||
feedback
|
|
Try this "ls -ltr", will give you the recent to the end of the list | |||||||||
feedback
|
|
For a complete answer here is what I use: Put this in your startup script | |||
|
feedback
|
lsman page. – Tom Wijsman Aug 28 '11 at 14:55