foreground job

The job that currently owns the terminal's input, so the shell waits for it before showing the prompt again.

In more detail

Only one job is in the foreground at a time, and keyboard signals such as Ctrl+C and Ctrl+Z go to it. Ctrl+Z stops it, and bg lets it continue in the background.

Related terms

Taught in

References