I would like an output similar to
ls -1d, but I don't want to check if each file exists. I would prefer to just list the files. I could use echo, but echo only puts a space between files.
How can I put a return between the files/parameters?
As far as I understand from your question, you can use
For printing file names only
For printing directory names only