Which of the following commands moves and resumes in the background the last stopped shell job?
Which of the following commands moves and resumes in the background the last stopped shell job?
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.
bg is an job control command
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.
The command that displays a list of all background tasks running in the current shell is: ``` jobs ```