Content deleted Content added
→Overview: erroneous, $! contains pid and not the job number |
→Overview: rephrase |
||
Line 4:
==Overview==
When using [[Unix]] or [[Unix-like]] operating systems via a [[Computer terminal|terminal]] (or [[terminal emulator]]), a user will initially only have a single process running, their interactive [[Unix shell|shell]] (it may or may not be a [[logging (computer security)|login]] shell
However, sometimes the user will wish to carry out a task while using the terminal for another purpose. A task that is running but is not receiving input from the terminal is said to be running "in the background", while the single task that is receiving input from the terminal is "in the foreground". Job control is a facility developed to make this possible, by allowing the user to start processes in the background, send already running processes into the background, bring [[background process]]es into the foreground, and suspend or terminate processes.
|