Skip to content

Instantly share code, notes, and snippets.

@obfusk
Created October 20, 2013 19:35
Show Gist options
  • Select an option

  • Save obfusk/7074181 to your computer and use it in GitHub Desktop.

Select an option

Save obfusk/7074181 to your computer and use it in GitHub Desktop.
run multiple apps w/ screen
for x in APP1 APP2 ...; do ( cd $x; pwd; screen -t ${x::2} sh -c 'pwd; CMD'; sleep 1 ); done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment