TestOut Linux Pro Practice Test

Image Description

Question: 1 / 400

Which command would you use to schedule a reboot in five minutes?

shutdown -r +5

The command to schedule a reboot in five minutes is "shutdown -r +5". This command is used in Unix-based systems to initiate a shutdown or reboot after a specified delay. The "-r" flag indicates that the system should reboot after the defined time frame, which in this case is five minutes, specified by "+5". The "+" sign indicates the delay in minutes, where "5" is how long the system will wait before executing the reboot command.

In contrast, the other options either do not follow the correct syntax or use commands that do not exist in standard Linux environments. For instance, "reboot +5" is not a valid syntax as the "reboot" command is immediate and does not accept a delay parameter. Similarly, "systemctl reboot +5" is not valid because the "systemctl reboot" command does not allow for a delay, and "shutdown +5 -reboot" is incorrect due to improper command syntax and placement of flags. Therefore, the only correct and standard command to schedule a reboot in five minutes is "shutdown -r +5".

Get further explanation with Examzify DeepDiveBeta

reboot +5

systemctl reboot +5

shutdown +5 -reboot

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy