Created
December 6, 2018 10:21
-
-
Save Sekiphp/232be08f6ff6ebe8daebf1036c229bb7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tail -n0 -f ../logs/error.log | sed 's/\\n/\n/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Better colorized solution:
tail -f ../logs/error.log | grep --color=always -E 'aiti|$' | sed 's/\\n/\n/g'