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 | |
# forked from shepmaster/trace-images.sh | |
# added some logic and made it cron-able (as little output as possible) | |
hash jq 2>/dev/null || { echo >&2 "jq is required but was not found. Please run make sure it is in the path"; exit 1;} | |
shopt -s nullglob | |
# Reset all variables that might be set | |
interactive=0 |
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/sh | |
hosts="" | |
ssh_options="" | |
tmux_session_name="cssh" | |
usage() { | |
echo "Usage: $0 [options] host [host ...]" >&2 | |
echo "" >&2 | |
echo "Spawns multiple synchronized SSH sessions or windows inside a tmux session." >&2 |