The FreeBSD Diary |
![]() |
(TM) | I remember |
|
"There are stopped jobs" - what does this message mean?
9 November 1998
|
|
Here's something I've not been able to find in the mailing list archives. I'm running 2.2.7 RELEASE. I had three telnet sessions going. All were su'd. I did an exit on one. I got a message "There are stopped jobs". I tried the same thing on telnet session #2, got the same message. On telnet #3, I did an exit, then another to logout. The other telnet sessions would then close. What was going on? I suspect I had started a process by pressing CONTROL-Z. This sounds vaguely familiar to me. I was running ipmon to test the logging as part of my IP Filter work. I was running the bash shell (Changing the shell). See the "JOB CONTROL" section of man bash for more information. Here is an extract:
If you type exit twice in a row, or type jobs and then exit, the shell will not warn you about any stopped jobs. I now think that I typed exit twice in my scenario described at the start of this article. |
|
bg and fg - 31 December 1998
|
Laz on undernet #freebsd mentioned that I should do a "man fg".
On about the 6th page, you will find a section titled Jobs.
Read this section. It contains interesting facts about how to take a job to and from
the background. I've reproduced some of that section below:
|