Here's something I've not been able to find in the mailing list archives.
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
If an attempt to exit bash is made while jobs are stopped, the shell prints a
warning message. The jobs command may then be used to inspect their status. If a second
attempt to exit is made without an intervening command, the shell does not print another
warning, and the stopped jobs are terminated.
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.