Created
October 23, 2012 07:20
-
-
Save coldfire-x/3937432 to your computer and use it in GitHub Desktop.
open linux multiple terminator tabs under one window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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