How can I list all the files of one folder but not their folders or subfiles. In other words: How can I list only the files?
{ find . -maxdepth 1 -type f | xargs ls -1t | less; }
added xargs to make it works, and used -1 instead of -l to show only filenames without additional ls info
xargs
-1
-l
ls