user has color but superuser has only white - this should not be
In xterm, as user I have colored text output, but as su all the text is white. How do I change this?
I did man dir_colors, which says:
Do you know how to give root the ability to display in colored text also?
you probably need to make a .bashrc for root. look and see what yours is for your user under ~ and you may even cp it to root and chown/chgrp so that it will work for root. usually if you want ls to have color you need to
hope that works for you
Correct answer to the question
Thanks, Joe. You directed me to .bashrc which is where I needed to go. The following was in .bashrc for root, so I uncommented it and it works!
# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval `dircolors`
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
You got an affero? I can't get mine setup, though I though I did it.
no affero for me. your thanks is enough.
Okay, here's big one in Chinese -->
Xiexie ! ! !
|All times are GMT -5. The time now is 01:56 PM.|