C. fg
The "fg" command is used to resume a stopped job in the foreground. It brings the most recent stopped or suspended job to the foreground and allows it to continue executing.
However, to move the last stopped shell job to the background, the correct command would be:
B. bg
The "bg" command is used to resume a stopped job and move it to the background. It allows the job to continue executing in the background while you regain control of the shell.
To summarize:
"fg": Brings the most recent stopped job to the foreground.
"bg": Resumes the most recent stopped job in the background.
Using these commands, you can manage jobs and their execution state within the shell.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Strib
6 months, 4 weeks ago