exam questions

Exam XK0-005 All Questions

View all questions & answers for the XK0-005 exam

Exam XK0-005 topic 1 question 106 discussion

Actual exam question from CompTIA's XK0-005
Question #: 106
Topic #: 1
[All XK0-005 Questions]

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?

  • A. fg
  • B. su
  • C. bg
  • D. ed
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
linux_admin
8 months, 4 weeks ago
Selected Answer: A
The command the administrator can use to go back to the program is fg. A. fg - This command brings a job to the foreground. In this case, the job is the program that was suspended using Ctrl+Z. B. su - This command is used to switch to another user account. C. bg - This command starts a suspended job in the background. It is not useful in this case because the administrator wants to bring the job to the foreground. D. ed - This command starts the ed text editor. It is not useful in this case because the administrator wants to resume the program that was suspended.
upvoted 3 times
...
Ckl22
10 months, 2 weeks ago
Selected Answer: A
Answer is A. Ctrl+Z suspended the process, and "fg" will bring it back into the foreground of 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