[CentOS] Looking for location of some specific settings in CentOS 6.x

Walter H. Walter.H at mathemainzel.info
Sat May 28 17:23:35 UTC 2016


Hello,

I have several virtual machines, all with CentOS 6.x and one so called 
virtual server at a web hoster

my virtual machines (VMware) were all installed manually using the .iso, 
some exist longer and therefore
were originally a CentOS 6.3, some are newer and wer originally a CentOS 
6.6;
and this virtual server has been installed using a preconfigured image 
from the web hoster;

on all this virtual machines and the virtual server several 'yum update' 
brought them to same release, not CentOS 6.7,
as I havn't updated to 6.8 yet;

at the virtual server I find this

export LS_OPTIONS="--human --color=always"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -Al'

in /root/.bashrc

on my virtual machines I can't find this settings; nor doesn't 'env' show a
variable 'LS_OPTIONS'
but 'alias' shows this:

alias cp='cp -i'
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'
alias mv='mv -i'
alias rm='rm -i'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot 
--show-tilde'

the aliases for cp, mv, rm are explained by the first part of 
/root/.bashrc (not quoted above)

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

when I comment out the above shown part of /root/.bashrc on the virtual 
server
'alias' shows the same as on my virtual machines (VMware)

but where are these aliases

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'

set?

Thanks for help,
Walter



More information about the CentOS mailing list