Job Control
The function of starting, stopping, killing, and resuming jobs is called job control. With job control, you have full control over how processes run in your shell environment. This section describes the commands to use to view and control jobs running in your shell.
Viewing Jobs
The key command for job control is the jobs command. The jobs command allows you to view the current jobs being handled by the shell:
The script uses the $$ variable to display the PID that the Linux system assigns to the script; then ...
Get Linux Fundamentals, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.