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)
- Time complexity analysis: How to calculate running time - April 1, 2024
- Sovereign Tech Fund Invests €1M In GNOME’s Open-Source Project - November 19, 2023
- Google’s Bard AI: ChatGPT Rival or The Next Frontier in AI and NLP Technology - February 8, 2023