Turn off colours
Guru's
How do I turn off the colours on RH linux xterm for the ls command and with in vi as well. Thanks |
Well, for LS, look in your:
~/.bashrc file and look for something like: alias ls='ls --color=auto' and remove or comment it out. |
in /etc/profile
or in your /home/user/.bash_profile add alias ls=\ls alias vi=\vi this will use the old version of ls and vi and not the new "improved" ones or you can type those command at a console... but unless you add to the bash_profile or the /etc/profile the changes will not stay. /etc/profile for everyone .bash_profile for specific user GL |
That's not there in any of the .bashrc files.
|
its a redhat thing
its not listed in the .bashrc try it type in the alias command then do a ls it works... |
That works. setting it to \ls and \vi in profile.
|
All times are GMT -5. The time now is 05:38 AM. |