So users can manage their own job, and in order to do so, first thing to know is that
you can put an ampersand behind any command that will start the command as a job in the
background.
You can also move a current running job to the background.
So if it's currently running, first you need to temporarily stop it using Control-Z.
And next you type BG to move it to the background, and then the jobs command is giving you a
complete overview of the running jobs.
And next you can use FG followed by the job number to move the last job back to the foreground.
Let me show you.
So when I type sleep infinity, it's going to sleep forever, but this will run as a foreground
job.
So if I want to manipulate this job and run it in the background, I'm using Control-Z
followed by BG.
BG is for background, and now it continues to run in the background.
I can also use sleep infinity with an ampersand behind it, any command with an ampersand behind
it to run it directly in the background.
The jobs command is giving an overview of jobs that are currently running.
And if you use FG followed by a job number, you can manipulate the current status.
So now it's running in the foreground again, and you know what to do with the job that
you want to terminate.
I'm going to use Control-Z to get rid of it.
And that's how you can manage a job.
Really, that's all.