[CentOS] How to open several tabs in a gnome-terminal window and run a command in each tab?
John Doe
jdmls at yahoo.com
Tue Aug 16 11:04:46 UTC 2011
From: Pete O\\\'Connell <pedrooconnell at gmail.com>
> Hi swapping out bash for tsch doen't work unfortunately. The window that
> gets created when you do this only stays open for a split second.
Works for me with:
$ cat test.sh
#!/bin/tcsh
ls $*
/bin/tcsh -i
$ gnome-terminal --tab -e "/path/to/test.sh AAA" --tab -e "/path/to/test.sh BBB"
Be sure to use the script full path...
JD
More information about the CentOS
mailing list