I would like to run ls
and exclude certain files in the output.
When I run the following command, I get all files, each on a separate line:
$ ls -1
file1
file2
file3
temp
I would like to run this command in a way so that it shows:
$ ls -1 <insert magic here> temp
file1
file2
file3
-1
Force output to be one entry per line. This is the default when output is not to a terminal