mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
216c9ea80d
added first cheat for ccze using named pipes to colorize multiple files at once while tailing them in the shell
5 lines
186 B
Plaintext
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
|