View Full Version : [SOLVED] The output of ls is not color coded

December 31st, 2011, 12:49 PM
The output of ls is not color coded.
This problem started after I deleted all hidden files (files that start with a dot) in my home directory.

December 31st, 2011, 12:56 PM
I think you miss .bashrc, but to be save: copy all of them from /etc/skel to your home directory, then log out and back in again.

December 31st, 2011, 01:00 PM
cp /etc/skel/{.bashrc,.bash_logout,.profile} ~/ && . ~/.bashrc
should sort you out.

December 31st, 2011, 01:33 PM
cp /etc/skel/{.bashrc,.bash_logout,.profile} ~/ && . ~/.bashrc
The above code worked (even without logging out). Thank you.

February 23rd, 2013, 02:38 AM
I know this thread is old, however it did help solve the same problem I had. I'd like to know why that worked though, if someone wouldn't mind explaining.