The ls
command can list files in a directory with the 1
(one) flag:
$ ls -1
foo.txt
bar.txt
I used to use the -l
flag for this behavior, but the long listing wasn’t what I actually needed.
The ls
command can list files in a directory with the 1
(one) flag:
$ ls -1
foo.txt
bar.txt
I used to use the -l
flag for this behavior, but the long listing wasn’t what I actually needed.