The job-control tag has no wiki summary.
34
votes
6answers
10k views
How can I disown a running process and associate it to a new screen shell?
I have a running program on a SSH shell. I want to pause it and be able to unpause its execution when I come back.
One way I thought of doing that was to transfer its ownership to a screen shell, ...
65
votes
1answer
10k views
Difference between nohup, disown and &
What is the difference between
$ nohup foo
and
$ foo &
and
$ foo &
$ disown
15
votes
4answers
2k views
What happens to the output of a process that has been disowned and lost its terminal?
If I close the virtual terminal, where some process was started, does the output just go straight to /dev/null, or can it pollute memory somehow?
Can I anyhow grab the output to continue reading it at ...
8
votes
2answers
3k views
How to suspend and bring a background process to foreground
I have a process originally running in the foreground. I suspended by Ctrl+Z, and then resume its running in the background by bg <jobid>.
I wonder how to suspend a process running in the ...
13
votes
5answers
4k views
How can I close a terminal without killing its children (without running `screen` first)?
sometimes I run an app in the gnome-terminal, but then I suddenly have to restart gnome or something. I guess the answer to the question is also useful then I want to disconnect from SSH where ...
7
votes
1answer
2k views
How to suspend and resume proccesses like bash does
this question is a follow-up to: How to suspend and resume proccesses
I have started firefox from a bash session in gnome-terminal.
The proccess tree looks like this:
$ ps -e -o pid,ppid,cmd -H
...
3
votes
1answer
378 views
Difference between process group and job?
What's the difference between a process group and a job? If I type pr * | lpr then is it both a process group as well a job?
What exactly is the difference between a process group ID and a job ID?
...
15
votes
2answers
2k views
What is the difference between a job and a process?
What is the difference between a "job" and a "process"?
6
votes
2answers
260 views
Concept of controlling terminal in Unix
Can some one please explain in an easy to understand way the concept of controlling terminal in unix and unix like systems ? Is it related to a session ? If yes, then how ?
6
votes
2answers
601 views
Is it possible to transfer a running process to your terminal? [duplicate]
Possible Duplicate:
How can I pause up a running process over ssh, disown it, associate it to a new screen shell and unpause it?
It is fairly easy to disown a process, or make it run ...
4
votes
2answers
519 views
How to suspend and resume proccesses
In the bash terminal I can hit Control+Z to suspend any running proccess... then I can type fg to resume the proccess.
Is it possible to suspend a process if I only have it's PID? And if so, what ...
3
votes
1answer
276 views
Background task finished notification syntax
Last night, before abandoning my computer for the evening, I started a bunch of compiler jobs so they'd be ready in the morning, using make -f alpha.mak &>alpha.out &. When I came back and ...