[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dumme Frage - Shell mit Farbiger Makierung



dirk@laurenz.ws wrote:
> Moin zusammen,
> 
>  
> 
> wie bekomme ich es hin, dass die Shell ausgaben farbig sind in dem
> sinne das beispielsweise eine messages farbig formatiert wird, wenn
> man sie mit tail ausgibt?

entweder in der .bashrc

# enable color support of ls and also 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' 
fi

oder für einelne Befehle geht auch
$BEFEHL | ccze

hth 
Ulrich

-- 
                         Zufallssignatur:
                         Es ist viel zu frueh zu spaet


Reply to: