Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-14-2012, 09:39 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2012
Posts: 5
Rep: 
|
shell script: how to run a application in another terminal
hi
how to run an application in another terminal using shell script.
thanks
sai
|
|
|
|
08-14-2012, 09:53 PM
|
#2
|
|
Member
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 213
Rep:
|
Quote:
Originally Posted by saidopdf
hi
how to run an application in another terminal using shell script.
thanks
sai
|
Code:
terminator -e program_name
Substitute your terminal name for "terminator"
|
|
|
1 members found this post helpful.
|
08-14-2012, 09:58 PM
|
#3
|
|
LQ Newbie
Registered: Jul 2012
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by cortman
Code:
terminator -e program_name
Substitute your terminal name for "terminator"
|
it is giving command not found
|
|
|
|
08-15-2012, 01:50 AM
|
#4
|
|
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,079
|
Then replace the word 'terminator' with 'xterm':
xterm -e mc
|
|
|
|
08-15-2012, 07:07 AM
|
#5
|
|
Member
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 213
Rep:
|
Quote:
Originally Posted by cortman
Substitute your terminal name for "terminator"
|
^^^
|
|
|
|
08-15-2012, 07:16 AM
|
#6
|
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,697
|
You should really be a bit more detailed in your questions. What exactly do you want to do? What commands do you need to run, and why do you want to run them in a new console? What environment are you doing this in (OS, shell, etc.)?
Also, please try to read the answers you get thoroughly and do some work to figure out problems yourself. cortman said clearly 'Substitute your terminal name for "terminator"', and the error you got was "command not found", which means that the program terminator isn't available to you (probably because it isn't installed).
So either ensure that that program is installed and available, or use a different console program. You probably want to use the one you're already using anyway. Check the documentation for whichever one you decide on to confirm that the syntax is ok too (although all the major ones should conform to the "-e" option).
|
|
|
3 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|