Bash Listing Files List the Ten Most Recently Modified Files


Example

The following will list up to ten of the most recently modified files in the current directory, using a long listing format (-l) and sorted by time (-t).

ls -lt | head