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 WAYNE OMOROKUNWA (see all)
- How to Disable Fast Start in Ubuntu-Windows Dual booting Setup. - December 31, 2020
- HOW TO INSTALL AUDACITY AUDIO EDITOR IN LINUX - October 31, 2020
- How to Create Files And Directories With Passwords in Linux [VIDEO] - September 29, 2020