Normal "ls" does not show the file names in different color conventions. We have to add a separate option with 'ls'.
ls='ls --color=auto'
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)
No comments:
Post a Comment