Dealing with stopped jobs
Sometimes when you try to logout, you'll get a message saying there are "stopped jobs ". these stopped jobs are programs or processes which have been susponded by a ^ Z (CTRL-z) command. you have to either make the job active again, or get it running properly
In the "background" before you can logout.
Stopping a program is useful if you want to temporarily suspend working on one program so you can do something else.
To see a list of stopped jobs, type:
You will see a list of the stopped programs. Here's an example showing a stopped "Learn" session:
You can kill this stopped job by typing:
Kill % 1 (Where % 1 is the number of the job To be killed> |
|
Or you can make the program active again by typing:
| FG % 1 (Where % 1 is the number of the job) |
|
FG stands for foreground. (You are bringing the program from susponded status back to the foreground.) once brought back to the foreground, you can continue the program or quit in a normal manner.