"There are stopped jobs" When Logging Out [SOLVED]

  • joebert
  • Genius
  • Genius
  • User avatar
  • Posts: 13511
  • Loc: Florida

Post 3+ Months Ago

You would think that in the last couple of years I would have had this problem at least once, right?
No such "luck", this is the first time I've ever received this message when trying to logout of an SSH session.

Code: [ Select ]
$ exit
There are stopped jobs.
  1. $ exit
  2. logout
  3. There are stopped jobs.

The first few discussions I came across suggested using the "jobs" command to get the process id and then use "kill" to get rid of it. I didn't like that idea though.

Some more research, and I discovered that all I need to do is use fg to bring the job back into the foreground (fg, foreground, get it?) where I can shut it down properly and logout. :)
  • spork
  • Brewmaster
  • Silver Member
  • spork
  • Posts: 6296
  • Loc: Seattle, WA

Post 3+ Months Ago

On a related note for those who didn't know, you can launch a program to run in the background by appending a trailing '&' to the command line.

Or, if you've already started it in the foreground, you can sent it to the background by stopping it (ctrl+z) and then typing 'bg' for background.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 27 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.