OS (Linux) Process
OS (Linux) Process
You can use the jobs command to list the jobs that are currently running or suspended
in the background.
$ jobs
[1]+ Running sleep 100 &
You can use the fg command to bring a background job to the foreground.
$ fg % 1
sleep 100
Note: The foreground job occupies the shell until the job is completed, suspended, or
stopped and placed into the background.