Introduction to UNIX: basic concepts : Basic concepts : Processes, signals and job control
Previous: Users and Groups
Next: Filesystems

4.6. Processes, signals and job control

Everytime a new application, shell or daemon is started, it gets a PID or process id. The list of running processes on a UNIX system can be obtained with the command ps. For example, to get the list of all running processes on the system, one can use ps -ax or ps -e.

Each of these running processes can be controlled with signals:

Processes running on the user's terminal can be controlled:

Several processes can be running in the background at the same time. They can be stopped or brought forward individually. To get the list of currently running jobs on the present terminal, use the jobs command.

Usually, when a shell is terminated, all the jobs (children) that were started by it and are still running are also terminated.


Introduction to UNIX: basic concepts : Basic concepts : Processes, signals and job control
Previous: Users and Groups
Next: Filesystems