I am using ls -l -t to get a list of files in a directory ordered by time.
ls -l -t
I would like to limit the search result to the top 2 files in the list. Is this possible? I've tried with grep and I struggled.