LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to execute/bring out a program without opening another terminal? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-execute-bring-out-a-program-without-opening-another-terminal-330832/)

f1l3t0f1sh 06-06-2005 07:50 AM

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!

jeffk42 06-06-2005 07:55 AM

just add an ampersand ( & ) to the end of the command. :)

f1l3t0f1sh 06-06-2005 08:04 AM

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! ;)

flupke 06-06-2005 01:57 PM

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

Genesee 06-06-2005 02:53 PM

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


All times are GMT -5. The time now is 06:58 PM.