>I recently installed RedHat 7.1 and begin poking around the system. I found
>that certain aliases like 'ls' and 'll' are set on default. However, I did
>not find these aliases statements in /etc/bashrc, /etc/profile, ~/.bashrc,
>~/.bash_profile. Where are these default aliases set?
>David

"ls" is not an alias.  It is the actual system command.

Take a look at /etc/profile.d/colorls.sh

Yes, ls is aliased there, but notice that it is calling the real ls and
yes, you are allowed to do that.  Personally I do not like changing the
function of the real command, I create a different name.

MB
-- 
e-mail: [EMAIL PROTECTED]
    Bart: Hey, why is it destroying other toys?  Lisa: They must have
    programmed it to eliminate the competition.  Bart: You mean like
    Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL: http://www.vidiot.com/  (Your link to Star Trek and UPN)



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to