Linux 1 Chapter 8 Questions
Which of the following files is where the default runlevel is set on some Linux systems? a. /etc/inittab b. /etc/init.d/init c. /etc/rc.d/init.conf d. /etc/rc.d/init.d/init.conf
/etc/inittab
Which of the following is the default desktop environment used by Linux Mint? a. GNOME b. KDE c. Unity d. Cinnamon
Cinnamon
Which of the following will invalid entries in the GRUB2 configuration cause? a. kernel warning automatically skipping invalid entries b. kernel panic and halt the system c. kernel error with confirmation to skip invalid entries d. no error, automatically skipping invalid entries until a valid entry is found
No error, automatically skipping invalid entries until a valid entry is found
Which of the following system variables can you modify to override the default system timezone within your current shell? a. TZ b. TIME c. LOCALE d. LC_TZ
TZ
Which of the following does a Linux kernel use to store the value of epoch time? a. The number of days since January 1, 1900 b. The number of minutes since January 1, 1900 c. The number of seconds since January 1, 1970 d. The number of milliseconds since January 1, 1980
The number of seconds since January 1, 1970
Which of the following is responsible for starting tasks and services during boot, stopping them during shutdown, and supervising them while the system is running? a. Kickstart b. Upstart c. GRUB d. POST
Upstart
Which of the following commands will show a number of environment variables that start with LC_? a. localvar b. locale c. env d. printenv
locale
Which of the following commands will show the current runlevel along with the previous runlevel? (Choose all that apply.) a. runlevel b. telinit -r c. init -r d. echo $RUNLEVEL
runlevel, echo $RUNLEVEL
Which of the following commands will display a list of Systemd units sorted by the time they took to load? a. systemd-analyze blame b. systemd --listload c. systemctl --listload d. systemctl-analyze -blame
system-analyze blame
Which of the following commands will set the default runlevel of a Linux system? a. systemctl --set-default runlevel5.target b. systemctl set-default runlevel5.target c. systemctl --default runlevel5.target d. systemctl set-init runlevel5.target
systemctl set-default runlevel5.target