opening a new shell?
hello all,
I am trying to write a script to open two different applications in different shells, however I can not figure out how to do it can someone please help this is what i have tried: Code:
#!/bin/sh Thanks, trscookie. |
Code:
gnome-terminal -e "ssh <server-address>" |
nice works a charm, thank you.
|
I believe both lines (xterm and gnome-terminal) should have the '-e' option prior to the command, AND the xterm instruction should be followed by '&' to launch it in background. gnome-terminal puts itself in background without a problem. So I guess - apart from the fact that you seem to have the hang of it already - you actually want:
Code:
#!/bin/sh |
All times are GMT -5. The time now is 10:58 PM. |