Skip to content

Instantly share code, notes, and snippets.

@jurka
Created April 19, 2012 09:51
Show Gist options
  • Select an option

  • Save jurka/2420027 to your computer and use it in GitHub Desktop.

Select an option

Save jurka/2420027 to your computer and use it in GitHub Desktop.
Run several same commands simultaniously
# this command allow to run "python test.py" 10 times
# useful for different types of tests
# declare -i i=0 ; while [ "$i" -l "10" ]; do python test.py & i=$i+1; done
# this is just draft variant.
# todo: create separate command with syntax mrun.sh <num> <command>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment