__|__
-------O-------
o´ `o
Loading and Quitting Stopped Jobs in OS X Terminal
Monday, 11 April 2011
When you run a command in the Terminal, say man cat, you can press CTRL-z to send it to the background, where it keeps running.
If you then try and close your shell by entering exit, you get the message: There are stopped jobs.
You can either type exit to close the process anyway, or close the jobs by doing the following:
- List open jobs: type jobs and press Return.
- Return to a job after seeing its ID with the
jobscommand: type fg 5 where ‘5’ is the job number and press Return. - Quit a running job by typing q.
__|__
-------O-------
o´ `o