Skip to content

Instantly share code, notes, and snippets.

@babie
Last active December 27, 2015 08:39
Show Gist options
  • Save babie/7297908 to your computer and use it in GitHub Desktop.
Save babie/7297908 to your computer and use it in GitHub Desktop.
earthquake () {
/usr/bin/ssh -t dev 'socat STDIN,echo=0,icanon=0 SYSTEM:"reptyr $(cat /tmp/earthquake.pid)",pty,stderr,ignbrk=1'
sleep 20
earthquake
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment