I found out it's possible to show the output of the ls
command vertically using the -1
switch:
$ ls -1
But couldn't find it in the manual of ls
. Is it a secret option?
documentationlsman
I found out it's possible to show the output of the ls
command vertically using the -1
switch:
$ ls -1
But couldn't find it in the manual of ls
. Is it a secret option?
Best Answer
The manual is out of date with the program. Try
ls --help | grep -- ' -1'
:It is one of the last options described if you just do
ls --help
.