Process Management & its types. When and how to use them?
Any process in Linux is started in two ways-
- Foreground process
- Background process
By default any process started in Linux runs in the foreground, the input can be given by keyboard or via values fetched within variables at run time, in case any of the process needs to be run in background then “&” is used so that it goes to background.
Any process in Linux is associated with PID, UID, PPID etc. which makes it a bit easy to understand and track the process.