CompTIA Linux+ (XK0-004) — Question 190
Which of the following is modified to reconfigure the boot environment?
Answer options
- A. grub-mkconfig
- B. grub.cfg
- C. update-grub
- D. grub2-mkconfig
Correct answer: B
Explanation
The correct answer is B, grub.cfg, as it contains the configurations used by the GRUB bootloader to determine how to boot the system. Options A, C, and D are commands that generate or update the grub.cfg file but do not directly modify the boot environment themselves.