ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 106 - XK0-005 discussion

Report
Export

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
Answers
A.
fg
B.
su
Answers
B.
su
C.
bg
Answers
C.
bg
D.
ed
Answers
D.
ed
Suggested answer: A

Explanation:

Ctrl+Z suspended the process, and "fg" will bring it back into the foreground of the shell A Comprehensive and Detailed To go back to a program that was suspended by pressing Ctrl+Z in the command line, the command that can be used is fg. The fg command stands for foreground, and it resumes the job that is next in the queue and brings it to the foreground. Alternatively, if there are more than one suspended jobs, fg can be followed by a job number to resume a specific job. The other commands are incorrect because they either do not resume a suspended job, or they have different functions such as switching user (su), pushing a job to the background (bg), or editing a file (ed). Reference: CompTIA Linux+ Study Guide, Fourth Edition, page 181-182.

asked 02/10/2024
Muddasir Solkar
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first