If I use the ls
command in my home directory each line of output has a leading whitespace:
$ ls
bin Documents ...
It only seems to do this for my home directory.
Why does it do this?
Note: I don't consider this to be a duplicate of Why is 'ls' suddenly wrapping items with spaces in single quotes? because that's not what I asked and I'm not interested in knowing the answer. Simply knowing that the whitespace is a side-effect of the quoting sufficiently answers my question.
bin
directory have an actual space as the first character in its name? – Kusalananda♦ Nov 21 '19 at 10:43ls
automatically quote some of the other filenames in the output due to them containing "special" characters? I can recreate this if I create any other filename with e.g. a space character in its name. GNUls
would then quote that name and indent other names in the directory listing output. – Kusalananda♦ Nov 21 '19 at 10:45