Thursday, July 22, 2010

Open mulitple terminal using gnome-terminal

This is the command you can use to open the multiple terminal.

gnome-terminal --tab-with-profile=default --command ls --tab-with-profile=default --command "ssh"

gnome-terminal ->command to open terminal
--tab-with-profile=default -> to open a tab with profile default
--command -> you can put the command that  has to be run on that terminal tab

Save the things in a script and run it.

No comments:

Post a Comment