what is the ls option to list entries by lines instead of by columns?
The ls option that lists entries by lines instead of by columns is:
bash
ls -x
From the GNU/Linux man page: -x “list entries by lines instead of by
columns.” This means items are filled row by row across the screen, rather
than column by column. For example:
bash
ls -C # default: fill down columns first
ls -x # fill across lines (rows) first
If what you actually want is one entry per line (a single vertical column), the option is:
bash
ls -1