Wednesday, May 14, 2008
Normal "ls" does not show the file names in different color conventions. We have to add a separate option with 'ls'.
Make it a part of your ~/.bashrc in a more practical way like this:
In your .bashrc, make a entry like this:
# enable color support of ls
$ [ "$TERM" != "dumb" ] && eval "`dircolors -b`" && alias ls='ls --color=auto'
The details of TERM variable can be found here
(Click the picture to enlarge)
© Jadu Saikia www.UNIXCL.com