can you please explain how this works?
ls --color=never -1Admittedly, I never actually do this because I don't ever care to not see colour (what would be the motive?), but I can understand why the OP does what they do.
Your 'ls' must be an alias for the real ls with some options. For example, mine is:
$ type ls
ls is aliased to `ls --color=auto'
A quick way to run the original 'ls' (not the aliased version), just prefix it with backslash: $ \ls ...
Or: $ command ls ...