Looking for a command that will return the single most recent file in a directory.
Not seeing a limit parameter to ls...
ls
I use:
ls -ABrt1 --group-directories-first | tail -n1
It gives me just the file name, excluding folders.