On 2011/12/22 17:22, Paul Allen Newell wrote:
On 12/22/2011 5:15 PM, jdow wrote:
>
>>
>> My F14 Linux box is getting repaired so I can't test ... what is this alias
>> changing about 'ls'? I don't remember seeing any factory-setting
.bashrc that
>> has ls aliased to ls with some options?
>
>
> It's been standard since RedHat 5.something, at least.
>
> It is in your .bashrc if you make a stock install and don't copy in a fixed
> .bashrc.
>
> {^_^}
jdow:
So factory setting .bashrc does have it aliased to something? What is it?
To be honest I forget whether it is "alias ls="ls --color"" or
"alias ls="ls --color=auto"". I suspect it's the former, at least
for
root. This is one of the first things I doctor with things like:
alias dir="ls -lrt --color=auto"
alias ls="ls --color=auto"
alias la="ls --color=auto -a"
alias ll="ls -l --color=auto"
alias lla="ls -l --color=auto -A"
alias lss="ls"
and so forth.
It seems to be setup in the first account you make. Subsequent accounts seem
to be pretty barren for their .bashrc. Check (ls -a) the files in /etc/skel
for what gets put in for most new users. Now I am wondering where the
colorized stuff comes from.
{^_^}