2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/ccze
Scott R. Godin 216c9ea80d
New sheet: ccze for colorizing logs
added first cheat for ccze using named pipes to colorize multiple files at once while tailing them in the shell
2018-08-28 12:50:32 -04:00

5 lines
186 B
Plaintext

# ccze usage with named pipe for coloring tail of multiple logfiles at once:
mkfifo pipe
tail -s .5 -n 120 -f httpd_access_log httpd_error_log httpd_modsec_audit_log >pipe &
ccze < pipe