5

I'm using ls from GNU core utilities. The manual page only mentions none, auto and always, but I find that tty also works. This option doesn't seem to be used widely, but still it was mentioned here and there. Is it a deprecated alias of auto? If not, what's the difference between tty and auto? When shall I use them respectively?

1
  • Not sure whether it's on-topic; in my mind it falls into the Using or administering a *nix desktop or server category. Apr 1, 2017 at 16:05

1 Answer 1

7

There is no difference.

Looking at the sources:

  • always can be used interchangeably with yes and force
  • never can be used interchangeably with no and none
  • auto can be used interchangeably with tty and if-tty.

They are all GNU-isms. :)

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .