0% found this document useful (0 votes)
20 views

OS (Linux) Process

Uploaded by

Viraj Bhosale
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

OS (Linux) Process

Uploaded by

Viraj Bhosale
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Managing the background jobs

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.

You might also like