Content deleted Content added
Importing Wikidata short description: "Control of jobs by a Unix shell" |
Factual error is corrected. The edit is self-explanatory |
||
Line 5:
==Overview==
{{Missing information|section|job number as a variable ($!)|date=April 2021}}
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 be [[logging (computer security)|login]]
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.
|