LPIC-1 Exam 101 (Linux Administrator) — Question 17
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
Answer options
- A. shutdown -r now
- B. shutdown -r "rebooting"
- C. telinit 6
- D. telinit 0
- E. shutdown -k now "rebooting"
Correct answer: A, C
Explanation
The correct answers are A and C. The command 'shutdown -r now' (A) immediately reboots the system, while 'telinit 6' (C) also instructs the system to switch to runlevel 6, which is the reboot runlevel. Options B, D, and E do not perform a reboot; B is a shutdown with a message, D halts the system, and E does not execute the shutdown command, as it does not actually reboot the system.