foregroundprosessi
Foregroundprosessi refers to a process that is currently attached to a terminal and has control of user interaction. In most Unix-like systems, processes belong to a process group, and the terminal designates one process group as the foreground group for interactive input and output.
When a process runs in the foreground, the terminal is effectively dedicated to that process. The shell
Operating systems provide job control to manage foreground and background processes. Users can move a process
Background processes do not have control of the terminal; the terminal accepts input only for the foreground
Common examples include interactive editors or compilers when run in foreground, or scripts that require user
See also: foreground process, background process, process group, controlling terminal, job control, SIGINT.