Posts Tagged ‘ls colors’

easy turn on ls colors for root

Thursday, April 22nd, 2010

in order to turn on the ls colors on your debian server for root user, just edit the /root/.bashrc file and uncomment there the following lines:
export LS_OPTIONS=’–color=auto’
eval “`dircolors`”
alias ls=’ls $LS_OPTIONS’

save and apply the new settings:

source ~/.bashrc

that’s all :)