Skip to content

Instantly share code, notes, and snippets.

@coldfire-x
Created October 23, 2012 07:20
Show Gist options
  • Save coldfire-x/3937432 to your computer and use it in GitHub Desktop.
Save coldfire-x/3937432 to your computer and use it in GitHub Desktop.
open linux multiple terminator tabs under one window
#!/bin/sh
DB1BUGS="mysql xxx"
DB1HW="mysql xxx"
LiveBUGS="mysql xxx"
LiveHW="mysql xxx"
LocalBUGS="mysql xxx"
LocalHW="mysql xxx"
CMD="gnome-terminal --maximize"
for cmd in DB1HW DB1BUGS LiveHW LiveBUGS LocalHW LocalBUGS
do
eval cmd_str='$'$cmd;
CMD="$CMD --tab --title $cmd -e \"$cmd_str\""
done
eval $CMD
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment