Shell Background Run Program
http://blog.csdn.net/courage89/article/details/10561041
- & is most often used
This is used at the end of a command, you can put this command in the background to execute
- CTRL + Z
You can put a command that is executing in the foreground in the background and pause
- Jobs
See how many commands are currently running in the background
- Fg
Move commands in the background to the foreground to continue running
If there are multiple commands in the background, you can use FG%jobnumber to bring up the selected command,%jobnumber is the ordinal (not PID) 5 of the command that is being executed in the background through the jobs command. BG will suspend a command in the background to continue execution if there are multiple commands in the background, you can use BG%jobnumber to bring up the selected command,%jobnumber is the serial number (not the PID) of the command being executed in the background through the jobs command.
- Jobs lists the background job information. ([job number] Run status job name)
- CTRL + Z put the task back in the background and pause;
- BG <%int> Wake up background tasks and run in the background;
- FG <%int> put the post-mission procedures in the foreground;
Shell Background Run Program