LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "Downsizing" programs via command line? (https://www.linuxquestions.org/questions/linux-newbie-8/downsizing-programs-via-command-line-867363/)

dynaemu 03-08-2011 11:52 PM

"Downsizing" programs via command line?
 
I'm trying to run a home radio server here, and when I run one of the programs.. It continues to run and I cant go back to type any other commands to finish the process. Is there a special key combination that'll get me back to to the command line without killing or stopping the process?

andrewthomas 03-09-2011 12:01 AM

Code:

command &
will background the command and return control of the terminal

chrism01 03-09-2011 12:21 AM

In your current situation
Code:

ctrl-z
should do it, then try as above.
However, if you then logout, it will warn that the prog is running and will kill it if you logout. To get around this, what you want is
Code:

nohup myprog >myprog.log 2>&1 &


All times are GMT -5. The time now is 03:16 AM.