---

How to Work with Foreground and Background Process in Linux

An important concept to understand when working with the Linux process is the difference between foreground and background processes and how to control them. In Linux, if you execute any programs a process will be created with a unique ID (PID) and by default, the process runs in the foreground.