Originally Posted by stevea
command for more info.
And, Socrates440, it wouldn't be a real computer question if you could get a the answers simply by reading the documentation. The behavior of the "ls" command in a typical Linux distribution is often slightly changed by the fact that it is "aliased" to a slightly different command.
For example, on my FC 16, installation , I can use the command
and get the output
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
This explains the color choices of the "ls" command on my machine - or I should say it doesn't explain them to me since I don't know what "auto" does or what configures that.
To get into the details of how aliasing of commands is done would be a digression. I just wanted to let you know that the behavior of a command may vary slightly from its "man" page.
...and after all, if anybody and his brother could figure out computers, what would be the point in messing with them?