process group
A set of related processes, such as all the commands in one pipeline, that the shell and kernel can signal together.
In more detail
Job control works on process groups: pressing Ctrl+C sends an interrupt signal to the whole foreground group, not just one process. Groups belong to a session, which is tied to a terminal. kill with a negative PID signals a whole group.
Related terms
- job control — The shell feature for managing the commands it started: listing them with jobs, and moving them between foreground and background with fg and bg.
- signal — A short notification the kernel delivers to a process, such as please stop or stop now.
- login session — The period from logging in to logging out, during which your processes carry the identity and group memberships you had at login.
Taught in
- Signals, And What kill Really Sends — Linux Fundamentals & Systems Administration
- Job Control, And Processes That Outlive You — Linux Fundamentals & Systems Administration