First, & is most often used
This is used at the end of a command, you can put this command in the background to execute
Two, CTRL + Z
You can put a command that is executing in the foreground in the background and pause
Third, Jobs
See how many commands are currently running in the background
Iv. 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) of the command being executed in the background through the jobs command.
V. BG
A command that pauses in the background changes 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 ordinal (not PID) of the command being executed in the background through the jobs command.
Linux-running in the background Ctrl + Z, jobs, BG, FG