Skip to main content

Thread: Color of text in shell


hi,

change color of directories (when input e.g. ´ls´) (which blue) other colour. how can that? searched on multiple sites, couldn't find wanted.



thanks!

your looking .bashrc in home directory. edit lines....

# enable color support of ls , add handy aliases
if [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'

#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'

should able change "auto" whatever color want. not sure if it's "blue" or hexidecimal color though.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Color of text in shell


Ubuntu

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support