10
rated 0 times
[
10]
[
0]
/ answers: 1 / hits: 2220
/ 2 Years ago, mon, june 13, 2022, 3:31:22
commands ls
and ls -C
seem to produce the same results - display by columns.
Is there any difference?
More From » command-line
commands ls
and ls -C
seem to produce the same results - display by columns.
Is there any difference?
Referring to info coreutils 'ls invocation'
:
-C'
--format=vertical'
List files in columns, sorted vertically. This is the default for
ls if standard output is a terminal. It is always the default for the dir program. GNU ls uses variable width columns to display as many files as possible in the fewest lines.
TL;DR: no, no difference - that's default.