The simple syntax or format for doing this is;
SHUTDOWN…
# shutdown
#shutdown <options> TIME [message]
OPTIONS:
- p – power off
- h – halt (a sort of “sleep” or ”hibernate”)
- r – reboot
- c – cancel shutdown (after initiating a shutdown within a specified time, use this option to cancel it)
To put the system off in 5 minutes time the command can be used this way;
# shutdown 5 “system is going down for the installation of new updates”
REBOOTING…
#reboot
Happy Linux’NG!
Latest posts by ALEXANDER OMOROKUNWA (see all)
- Google’s Bard AI: ChatGPT Rival or The Next Frontier in AI and NLP Technology - February 8, 2023
- Google Introduces KataOS, as a Security-based Open-source Operating System - December 22, 2022
- The Latest GNOME 43, “Guadalajara”, Released See What’s New - October 19, 2022