Looking for a command that will return the single most recent file in a directory.
Not seeing a limit parameter to ls...
ls
Presuming you don't care about hidden files that start with a .
.
ls -rt | tail -n 1
Otherwise
ls -Art | tail -n 1