easy turn on ls colors for root

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 :)

Tags:

Leave a Reply

You must be logged in to post a comment.