Change directory color (ubuntu 12.04)
After much googling I'm still trying to figure out what I presume is a fairly easy task - I want to change directories in bash from blue (which can be pretty hard to read) to yellow globally, not on a per-user basis. The sites I've looked at can't even agree whether I should use /etc/dircolor or /etc/DIRCOLOR and give pretty diverse instructions.
As a newbie at the whole server thing I would guess this should be a single file edit somewhere? Any help would be greatly appreciated.
2 Replies
I've used this site before: https://wiki.archlinux.org/index.php/ColorBashPrompt
For folders, have a look for info on the ~/.dircolors folder and /usr/bin/dircolors executable.
My .bashrc has the color set using "–color=auto" for a few aliases. But I'm guessing there are other options.
Hope this helps a little.
Cheers,
Nap
At that point the link you provided was most helpful as it contains the necessary color codes.