How to execute a command in newly open terminal(gnome-terminal) in scripting ?
Amrit Pal Pathak
amritpalpathak1 at gmail.com
Wed Jul 13 17:38:50 UTC 2011
Hey
I need a 3 commands to run into 3 terminals seprately so i
did as follow in bash script
echo "what is your name"
read b
echo "your name is $b "
gnome-terminal -e 'bearerbox -v 1 kannel/kannel.conf'
gnome-terminal -e 'wget
http://www.kannel.org/download/1.4.3/gateway-1.4.3.tar.gz'
gnome-terminal -e ' smsbox -v 1 kannel/kannel.conf'
It is opening the 3 terminals but only 2nd command is running others 2(1st
and 3rd) are not.
Why?
Thanks in advance
amritpalpathak.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110713/259eb01b/attachment.html>
More information about the ubuntu-users
mailing list