Skip to content

Instantly share code, notes, and snippets.

Mario goliathuy

  • Montevideo
Block or report user

Report or block goliathuy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
goliathuy /
Created Feb 22, 2018 — forked from stantonk/
Unified tail -f of a log file across multiple hosts via ssh.
# Example input and output (from the bash prompt):
# ./ -H use@server -f /var/log/somelog.log
# ./ -h "use@server use@server2 use@server3" -f "/var/log/somelogA.log /var/log/somelogB.log"
# ./ --host "usu@server usu@server" --file "/var/log/logA.log"
# Based on and /usr/share/doc/util-linux/examples/getopt-parse.bash
# Note that we use `"$@"' to let each command-line parameter expand to a
# separate word. The quotes around `$@' are essential!
You can’t perform that action at this time.