Linux 101 : Background and Foreground processes
We run a command command in the background as below:
The ID of our background job 1.
To check our background programs, we use the below:
To end our background command, we use the following:
We check again our jobs:
Remark:
The "2" number means an Interrupt signal "SIGINT".
We can bring a background process to the foreground using the following:
We put a foreground process on hold using the "Ctrl+z" keys.
To restart it again, we use the below:
Comments