Linux Foundation Certified System Administrator (LFCS) — Question 54
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
Answer options
- A. shutdown -R 1 now
- B. shutdown -single now
- C. init 1
- D. telinit 1
- E. runlevel 1
Correct answer: C, D
Explanation
The commands 'init 1' and 'telinit 1' both change the system's runlevel to 1, which is the single-user mode, allowing for safe maintenance. The other options either do not properly switch to single-user mode or are not valid commands for achieving the desired state.