| Start |
|---|
List background processes First field shows the job ids. The + and - sign that follows the job id for two jobs denote the default job and next candidate default job when the current default job ends respectively. The default job is used when the Second field gives the status of the job. Third field is the command used to start the process. The last field (wd: ~) says that the sleep commands were started from the working directory ~ (Home). |
Bring a background process to the foreground %2 specifies job no. 2. If fg is used without any arguments if brings the last process put in background to the foreground.
|
Restart stopped background process |
Run command in background Puts the sleep command in background. 7582 is the process id of the background process. |
| Stop a foreground process Press Ctrl + Z to stop a foreground process and put it in background Syntax
|
Read Article
https://develop.horje.com/learn/1434/reference