Skip to content

Instantly share code, notes, and snippets.

@SkaTeMasTer
Created February 13, 2017 09:24
Show Gist options
  • Save SkaTeMasTer/7677baeedea7656bc6e90aec7246dd2a to your computer and use it in GitHub Desktop.
Save SkaTeMasTer/7677baeedea7656bc6e90aec7246dd2a to your computer and use it in GitHub Desktop.
Script tails all logs from RPi
apt-get install multitail
multitail /var/log/syslog /var/log/auth.log
+ display log files in colors,
+ scroll back in a log file,
+ search inside log file,
+ merge mutliple log files effectively
CREATE A SCRIPT
-=======
multitail-all.sh:
===================
#!/bin/bash
multitail /var/log/syslog /var/log/auth.log /var/log/daemon.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment