GNU+Linux command memo

Colors in the console

Couleurs dans le terminal

alias ls='ls --color=auto' (1)
alias grep='grep --color'
alias rgrep='rgrep -n --color'
alias diff='colordiff'
alias tail='colortail'
alias make='colormake'

function wcolordiff () { wdiff -n $1 $2 | colordiff }
1 All the lines can be copie in your .zshrc or .bashrc

All at once and even more colout by Nojhan:

tail /var/log/boot.log | colout fail
tail /var/log/boot.log | colout "^.*fail.*$" red bold