Skip to content

Instantly share code, notes, and snippets.

@ptotaram
Created March 13, 2014 22:19
Show Gist options
  • Save ptotaram/9538266 to your computer and use it in GitHub Desktop.
Save ptotaram/9538266 to your computer and use it in GitHub Desktop.
Useful Terminal Commands

#Useful Terminal Commands ###Random Color per log line tail -f syslog | while read -r line; do printf "\e[38;5;%dm%s\e[0m\n" $(($RANDOM%255)) "$line"; done;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment