I would like to make a script ( bash ) that will programmatically
- start gnome-termal with 6 tabs each with its own title
- start a different command in each tab
- delay starting server 5 until sever 4 has been running for about 1 minute
- change the title of the gnome terminal to "My Servers"
- switch tabs to the Server 4 tab
I would like to do all of this with double clicking on the file, without a dialog box ( RHEL 6 ) coming up to ask me if I want to display or run the file.
Googling around I got this far, but I could use some help with the rest:
gnome-terminal \
--tab -t "Server 1" -e commandStartServer1 \
--tab -t "Server 2" -e commandStartServer2 \
--tab -t "Server 3" -e commandStartServer3 \
--tab -t "Server 4" -e commandStartServer4 \
--tab -t "Server 5" -e commandStartServer5 \
--tab -t "Server 6" -e commandStartServer6 \