exam questions

Exam LFCS All Questions

View all questions & answers for the LFCS exam

Exam LFCS topic 1 question 59 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 59
Topic #: 1
[All LFCS Questions]

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

  • A. run
  • B. bg
  • C. fg
  • D. back
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Strib
6 months, 4 weeks ago
Selected Answer: B
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
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago