I am looking for a command that lists all files in the current directory.
- Absolute paths
- One file per line
- No other information (like size, permissions...)
- Don't show folders
What I got so far is this:
ls -d1 $PWD/*
[User@User-arch Pictures]$ ls -d1 $PWD/* /home/User/Pictures/folder1 /home/User/Pictures/folder2 /home/User/Pictures/file1.png /home/User/Pictures/file2.png /home/User/Pictures/file3.png /home/User/Pictures/file4.png
readlink -f $PWD/*, which gives the same output.
They satisfie all but the 4. requirements. How can I tweak it so it does not show folders? Or is there a simpler command?