Tagged as: linux
If there are many files in the current directory, it can be hard to find the oldest or newest files.
Luckily, ls allows us to do this easily:
-
Most recent modification time first:
ls -t -
Oldest file first:
ls -tr
More information is available in the manual for ls, available through man:
man ls