# “There are stopped jobs”

Seeing this message when trying to exit bash means some interactive processes launched from this terminal are still running in the background. Use the jobs command to list them. Use fg <n> to bring job number n to the foreground and exit the process properly.

As an example, if a command being piped to less exits and less is left hanging without anything to show, it goes to the background. Example:

This means that less is still running in the background waiting for input. Here’s how to bring it to the foreground and exit it.

In this case, after fg 1, it is not immediately clear what to do. But since I know that it is less that’s running now, I hit q (since q is the less keystroke to quit).