Skip to content

Instantly share code, notes, and snippets.

@Sekiphp
Created December 6, 2018 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sekiphp/232be08f6ff6ebe8daebf1036c229bb7 to your computer and use it in GitHub Desktop.
Save Sekiphp/232be08f6ff6ebe8daebf1036c229bb7 to your computer and use it in GitHub Desktop.
tail -n0 -f ../logs/error.log | sed 's/\\n/\n/g'
@Sekiphp
Copy link
Author

Sekiphp commented Dec 6, 2018

Better colorized solution: tail -f ../logs/error.log | grep --color=always -E 'aiti|$' | sed 's/\\n/\n/g'

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