[CentOS] How to open several tabs in a gnome-terminal window and run a command in each tab?
John Doe
jdmls at yahoo.comFri Aug 5 10:34:17 UTC 2011
- Previous message: [CentOS] How to open several tabs in a gnome-terminal window and run a command in each tab?
- Next message: [CentOS] How to open several tabs in a gnome-terminal window and run a command in each tab?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: Pete O\'Connell <pedrooconnell at gmail.com> > HI, but using watch you don't get the cursor back. Because when the command exists, the gnome-terminal session exists... Best would be the following if you find out how to add your commands to the bash call... gnome-terminal --tab -e "bash -i" --tab -e "bash -i" Maybe someone will have an idea... >> Try with a full script with loops > Sounds good how do I do that? Instead of the loops, you could use this script.sh: #!/bin/bash ls $* bash -i gnome-terminal --tab -e "/path/to/script.sh AAA" --tab -e "/path/to/script.sh BBB" JD
- Previous message: [CentOS] How to open several tabs in a gnome-terminal window and run a command in each tab?
- Next message: [CentOS] How to open several tabs in a gnome-terminal window and run a command in each tab?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list