Chapter 1: Hardware and System Configuration
- A. The
modprobe
command loads the module and its dependencies, if applicable. Thelsmod
command is used to list currently loaded modules, making answer B incorrect. Theinsmod
command will load a given module but not its dependencies. Answer D,rmmod
, is used to remove a module from memory. - C. The keyword
single
given on the Linux kernel command line will boot the system into single-user mode. The other options are not valid. - A. The Shift key, if pressed when control has first been handed to GRUB, will cause the GRUB menu to be displayed.
- D. The
dmesg
command displays the contents of the kernel ring buffer. On many Linux distributions, this log is also saved to/var/log/dmesg
. The other options shown for this question are not valid commands. - D. The
lsmod
command is used to list currently loaded kernel modules, thereby making answer D correct for this question. Theinsmod
command (answer A) is used to load modules. Answer C is a valid command...