SyntaxFix
Write A Post
Hire A Developer
Questions
ls -t list files by creation time not last modified time. Use ls -ltc if you want to list files by last modified time from last to first(top to bottom). Thus to list the last n: ls -ltc | head ${n}
ls -t
ls -ltc
ls -ltc | head ${n}