LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How 2 start a stopped process(CTRL+Z)in command prompt (https://www.linuxquestions.org/questions/linux-newbie-8/how-2-start-a-stopped-process-ctrl-z-in-command-prompt-591286/)

babu198649 10-12-2007 06:54 AM

How 2 start a stopped process(CTRL+Z)in command prompt
 
hi

is there any way(definitely there will be) to start a stopped process.

Thanks

makyo 10-12-2007 06:57 AM

Hi.

See http://www.linuxquestions.org/questi...prompt-591267/ ... cheers, makyo

AlucardZero 10-12-2007 09:32 AM

Job control:

So you have a program running, and you press CTRL+Z. This stops the job and gives you a prompt.
You then type bg and the job continues running in the background.
You go and do other things. Now you want to bring the job to the foreground.
You type jobs and see a list of the background jobs, in the format [Job#] PID.
So you type fg Job# and bring the process to the front.

If there's only one background job, fg by itself will bring it up (no need for a job number).

babu198649 10-15-2007 02:52 AM

thak u AlucardZero

lets meet with some other thread

babu198649 10-15-2007 02:53 AM

thanks and cheers makyo


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