Skip to content

Instantly share code, notes, and snippets.

@mrm8488
Created November 8, 2019 05:43
Show Gist options
  • Save mrm8488/1f9afca9567f9822dc948a2ac1986b55 to your computer and use it in GitHub Desktop.
Save mrm8488/1f9afca9567f9822dc948a2ac1986b55 to your computer and use it in GitHub Desktop.
tail -F firewall.log |while
read -r line;do printf
"\033[38;5;%dm%s\033[0m\n" $
((SRANDOM%255)) "Sline";done #
Random color per log line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment