Click to See Complete Forum and Search --> : Colour directory listings


Baron Flambe
01-10-2001, 01:36 AM
I'm using KDE2 under Drake 7.2. When I do an 'ls' using the Konsole terminal window different kinds of files are shown in different colours. Does anyone know how to turn this off?

Strike
01-10-2001, 02:23 AM
Sure, put this in your .bashrc and .bash_profile:

alias ls='ls --color=none'

Baron Flambe
01-11-2001, 07:34 PM
I tried that but it didn't work. Can you suggest anything else? Other than just using Eterm instead... http://www.linuxnewbie.org/ubb/wink.gif

------------------
"Everytime I learn something new it pushes some old stuff out of my brain!" - Homer Simpson

X_console
01-12-2001, 01:10 PM
Did you do a "source ~/.bashrc" or "source ~/.bash_profile" after you modified it?

Baron Flambe
01-12-2001, 04:04 PM
Aha! So that's what I did wrong! I did reboot while I changed removable drives, but I didn't do the source thing. Cheers!

------------------
"Everytime I learn something new it pushes some old stuff out of my brain!" - Homer Simpson