A Linux server running systemd booted to rescue.target for maintenance. Which commands are used to restore the server to its usual target? (Choose two.)
A Linux server running systemd booted to rescue.target for maintenance. Which commands are used to restore the server to its usual target? (Choose two.)
To restore a Linux server running systemd from rescue.target to its usual target, the commands to be used are systemctl default and systemctl reboot. The command systemctl default will return the system to its default target, which is typically the multi-user or graphical target. The systemctl reboot command will reboot the system, and upon reboot, it will start in its default target unless specified otherwise. Therefore, the correct answers are systemctl default and systemctl reboot.
Answer is B,E
Answer is B,E telinit only halts/shuts down the server
Talvez seja B e E
B,E - 100%
telinit 0 is a shutdown and the wrong answer. So B, E should be correct.
A. telinit 0 - shutdown server B. systemctl default - command is used to switch the system to the default target C. sync - synchronizes data corresponding to the file in volatile memory and permanent storage, forcing pending reads and writes to be executed immediately. D. systemctl emergency ?? E. systemctl reboot - reboot and start normaly
B. systemctl default: This command will return the system to its default target, which is typically the multi-user target or the graphical target. E. systemctl reboot: This command will reboot the system. Upon reboot, the system will starhttps://www.examtopics.com/exams/lpi/201-450/view/2/#t up in its default target unless otherwise specified.
Answer is B,E
Answer is B,E