CompTIA Linux+ (XK0-005) — Question 92
A systems administrator pressed Ctrl+Z after starting a program using the command line, and the shell prompt was presented. In order to go back to the program, which of the following commands can the administrator use?
Answer options
- A. fg
- B. su
- C. bg
- D. ed
Correct answer: A
Explanation
The correct answer is 'fg', which brings the foreground process back to an active state. The 'su' command is used to switch users, 'bg' runs a job in the background, and 'ed' is a text editor, none of which will resume the suspended program.