101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 52


Which of the following commands moves and resumes in the background the last stopped shell job?

Show Answer
Correct Answer: B

The command 'bg' is used to move and resume the last stopped shell job in the background. It stands for 'background', whereas 'fg' (foreground) is used to bring a background job to the foreground. Other commands like 'run' and 'back' are not valid shell commands for job control.

Discussion

3 comments
Sign in to comment
Hendrik_StoltzOption: B
Sep 9, 2023

bg is an job control command

ciola89Option: B
Sep 11, 2023

bg : put the recently suspended process in the background. fg : put the recently suspended process in the foreground. & : run a program in the background to begin with. jobs : list child processes under terminal shell.

DuboisNicolasDuclairOption: B
Oct 21, 2023

The command that displays a list of all background tasks running in the current shell is: ``` jobs ```