Understanding Linux Processes and Shell Commands
Classified in Technology
Written on in
English with a size of 2.18 KB
Unit 2: Linux Process Management
What is a Process?
A process is defined as an entity that represents the basic unit of work to be implemented in the system.
Foreground and Background Processes
- Foreground Process: Every process, when started, runs in the foreground by default. It receives input from the keyboard and sends output to the screen.
- Background Process: It runs in the background without requiring keyboard input. Other processes can run in parallel because they do not have to wait for the background process to complete.
Different Types of Processes
Parent and Child Processes
The second and third columns of the ps -f command display the Process ID (PID) and Parent Process ID (PPID). For each user process, there is a parent process in the system,... Continue reading "Understanding Linux Processes and Shell Commands" »