Skip to content

Instantly share code, notes, and snippets.

@davidrleonard
Last active June 13, 2017 23:52
Show Gist options
  • Save davidrleonard/99f0f364c9c7a77510c2fb734c13c3f3 to your computer and use it in GitHub Desktop.
Save davidrleonard/99f0f364c9c7a77510c2fb734c13c3f3 to your computer and use it in GitHub Desktop.
Opens 10 browser windows that say "Hi Kate"
if [ ! -f ~/.hi.html ]; then echo '<title>Hi Kate</title><h1>Hi Kate</h1>' > ~/.hi.html; fi && echo 'Opening gulp or whatever...' && for ((n=0;n<10;n++)); do open -a 'Google Chrome' ~/.hi.html; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment