Linux+ Chapter 8
On Linux systems that use the traditional UNIX SysV init, what command below can be used to list and modify the runlevels that a daemon is started in?
chkconfig
Which of the following commands can be used to start a UNIX SysV daemon called sshd in runlevels 1, 2, and 3?
chkconfig --level 123 lala on
In standard GRUB notation, select the option below that represents the first hard drive in a system, and the first partition on that hard drive.
(hd0,0)
In Linux, what runlevel is also known as extended multiuser mode?
2
What stage of the GRUB boot loader typically resides on the MBR / GPT?
Stage 1
Most daemon scripts accept the arguments start, stop, and restart.
True
Much like the SysV init daemon, the Systemd init daemon is used to start daemons during system initialization as well as start and stop daemons after system initialization.
True
You can choose to use a window manager only, and not use a desktop manager.
True
What is the systemd default target on a system with a GUI installed?
graphical.target
After modifying the /etc/default/grub file, what command should be run to rebuild the grub2 config files?
grub-mkconfig
What command below can be used to re-install GRUB2 in the event that the boot loader becomes corrupted?
grub2-install
The first daemon that is loaded on a SysV init Linux system is:
initd
Which command below can be used to start, stop, or restart any daemons in the /etc/init.d directory?
service
When using Systemd, what command can be used to start, stop, and configure daemons to start automatically when the system starts?
systemctl
The first daemon loaded in a Systemd Linux system is:
systemd
Once X Windows is configured, what command can be used to fine tune the vertical and horizontal refresh rate?
xvidtune
Under what directory is the Linux kernel stored?
/boot
What file controls the default runlevel when using Systemd?
/etc/systemd/system/default.target
At what runlevel does a Linux system have no daemons active in memory, allowing it to be safely powered off?
0
What keyword tells the Linux kernel to avoid printing errors to the screen during system startup?
quiet