LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 06-06-2005, 08:50 AM   #1
f1l3t0f1sh
LQ Newbie
 
Registered: May 2005
Location: Malaysia
Distribution: Fedora Core 4, SUSE Professional 9.2
Posts: 10

Rep: Reputation: 0
How to execute/bring out a program without opening another terminal?


Hi all.

Everytime a program is executed within a terminal I'll need to open another terminal to continue what was I doing in previous terminal. It's really incovenient and unwise.

Could someone please tell me how to do that? To the best of my recollection, there was an option after the command. That will be helpful to newbie like I am. Thank you!
 
Old 06-06-2005, 08:55 AM   #2
jeffk42
Member
 
Registered: Mar 2005
Location: Orlando, FL USA
Distribution: Fedora Core 13 x86_64 / RHEL 5.3
Posts: 76

Rep: Reputation: 15
just add an ampersand ( & ) to the end of the command.
 
Old 06-06-2005, 09:04 AM   #3
f1l3t0f1sh
LQ Newbie
 
Registered: May 2005
Location: Malaysia
Distribution: Fedora Core 4, SUSE Professional 9.2
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by jeffk42
just add an ampersand ( & ) to the end of the command.
That's it! Thank you jeffk42 for the very fast respond!
 
Old 06-06-2005, 02:57 PM   #4
flupke
Member
 
Registered: Jun 2005
Location: BE
Posts: 30

Rep: Reputation: 15
Did you ever heard of screen? If not, take a look at it. It allows you to have multiple virtual terminals into a single console.
And if you add this to your screenrc, it's even better :

hardstatus alwayslastline "%D %M %d - %c -- %w"
caption always "%h"


HTH
Flupke
 
Old 06-06-2005, 03:53 PM   #5
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
also check out the bash manpage, under the heading "job control" for the "fg" and "bg" bash builtins
 
  


Reply


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
Webmin Server Status + Bash program to bring Apache up xbaez Programming 2 11-14-2005 08:57 AM
when i startx the kde bring 2 bash program by it self Paxmaster Linux - General 1 11-11-2004 08:09 PM
problems with Grip, and now i can't bring up my terminal! madmax8484 Linux - Software 0 08-24-2004 01:03 AM
C function to execute a program and return the output of the program ryan.n Programming 4 08-14-2004 11:11 PM
Opening a new terminal from Fluxbox menu (or another terminal) hallamigo Linux - Software 1 05-02-2004 04:32 AM


All times are GMT -5. The time now is 09:07 AM.

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