- CompTIA Linux+ Certification Guide
- Philip Inshanally
- 259字
- 2021-08-13 15:49:48
Questions
- Which runlevel is a GUI presented in a CentOS distribution?
A. 1
B. 5
C. 2
D. 3
- What is the command to print the current runlevel in an Ubuntu distribution?
A.run-level
B. systemdctl
C. runlevel
D. who –b
- Which alternate command displays the runlevel information?
A. who -v
B. who -l
C. who -b
D. who –r
- What does the N refer to when reading the runlevel output?
A. The current runlevel
B. The previous runlevel before it was changed to the current runlevel
C. The previous current runlevel before it was changed to the previous runlevel
D. The runlevel that is in use currently
- What does the S refer to when reading the runlevel output?
A. Single sign-on user
B. Super user
C. Single-entry super user
D. Single user
- Which command is used to change the runlevel?
A. int
B. init
C. runlevel
D. change-run-level
- Which other command can be used to change the runlevel?
A. runlevel
B. shutdown
C. telinit
D. telnit
- Which command is used to view the default boot target?
A. systemctl get-default
B. systemctl set-default
C. systemctl-default
D. systemctl-get-default
- Which command can be used to list the daemons for a given target?
A. systemctl list-dependencies
B. systemctl list-dependencies –type list
C. systemctl list-dependencies –type target
D. systemctl list-dependencies target
- Which command switches between targets?
A. systemctl isolate target
B. systemctl isolate multi-user.target
C. systemctl isolate-target-multi-user
D. systemctl isolate-multiuser.target
- Which command displays the status of a target?
A. systemctl status multi-user.target
B. systemctl status-multi-user.target
C. systemctl-status multi-user.target
D. systemctl-status-multiuser.target