Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-11-2013, 03:06 PM   #1
LQ Newbie
Registered: Oct 2013
Posts: 1

Rep: Reputation: Disabled
How to execute a command in a new window

I need to launch a new window, then execute a command in that window.

In my script, I have:

gnome-terminal -x ./

My is simply a call to a development shell.

The development shell launches into a new window and I'm at the cursor. Now, I want to execute 'Make Help'. How do I do this?
Old 10-11-2013, 08:37 PM   #2
Senior Member
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 1,013

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
I am not sure this can be achieved in a gnome-terminal, but I just played around a bit with the xfce4 terminal and it has an option called "hold" which I think might be what you are looking for.
xfce4-terminal -H --command=./
Not sure if switching to another terminal emulator is acceptable for you?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I execute a shell command and put the result in command field? fran4tw Linux - General 9 08-08-2011 08:27 PM
.sh file execute in command window but not in cronjob a9b8c2 Linux - General 5 12-12-2010 09:14 AM
Only execute 2nd command on successufl execution of 1st command kregec05 Linux - Newbie 3 08-19-2009 10:29 AM
Execute a command , reboot and then execute another command Linux - Newbie 3 12-03-2008 12:51 AM
How to launch a command in a new window without pausing the referrer window? budhax Linux - Newbie 3 08-31-2008 11:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration