Skip to content

Instantly share code, notes, and snippets.

@damiann
Created April 11, 2017 19:55
Show Gist options
  • Save damiann/3a087a041e4ae2f8fb20ac4eefc38eb1 to your computer and use it in GitHub Desktop.
Save damiann/3a087a041e4ae2f8fb20ac4eefc38eb1 to your computer and use it in GitHub Desktop.
Rerun terminal command multiple times
cmd="..some command..."; for i in $(seq 5); do $cmd; sleep 1; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment