Show Menu
Cheatography

Bash colors Cheat Sheet (DRAFT) by [deleted]

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Color codes

Bold/B­right
\e[1m

Usage with sed

 
Use with $'<­cod­e>': example:
tail -f /var/l­og/­apa­che­2/e­rro­r.log | sed 's/\(.rewrite.\)/'$'­\e[­1mB­''­\0'$­'\e­[0m­'$'/g'

Links