How-to make file have different color when doing ls?
You can edit ~/.dircolors
, if it doesn't exist you can create it with:
dircolors -p > ~/.dir_colors
As the example here shows, you can have this in your .bashrc:
eval `dircolors ~/.dir_colors`
alias ls="ls --color=auto"
one doesn't need to add anything to the /home/yourusername/.bashrc file since it already contains the nessecary entries
just search for --color and uncomment them so they are active!