Skip to content

Instantly share code, notes, and snippets.

@uprush
Created December 5, 2016 01:50
Show Gist options
  • Save uprush/fb3bf5c48bd6e6344cbd49b402663398 to your computer and use it in GitHub Desktop.
Save uprush/fb3bf5c48bd6e6344cbd49b402663398 to your computer and use it in GitHub Desktop.
# Save below scripts as stopeth.sh
#!/bin/sh
ip link set eth0 down
sleep 60
ip link set eth0 up
# Execute the script
$ sudo nohup ./stopeth.sh &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment