Advertisement: Linux VPS from $4/month - contact support for custom offer.
-
Administrator
Linux: List most recent/newest/latest files in a directories recursively
This worked to output most recent/newest files in a current directory and its sub-directories.
ls -Rxtr -1|tail
-R is for recursive
-x list by lines, not columns
-t is sort by time
-r is to revert order (default is to show newest on the top, but if output is long, i prefer newest on the bottom)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Protected by : ZB
BLOCK & StopForumSpam
Bookmarks