Last active
February 1, 2016 19:39
-
-
Save ScrambledBits/6462f238f44558607a4f to your computer and use it in GitHub Desktop.
This snippet finds all log files under /var/log and displays them in realtime with color highlight. CCZE must be installed.
This file contains 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
#!/bin/bash | |
find /var/log -type f -iregex '.*[^\.][^0-9]+$' -not -iregex '.*gz$' 2> /dev/null | xargs tail -n0 -f | ccze -A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment