HOW TO SHUTDOWN AND REBOOT IN LINUX

By | July 21, 2016

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!


NEVER MISS AN UPDATE




I agree to have my personal information transfered to MailChimp ( more information )

Join over 10,000 visitors to receive Open Source tips, trick, news, tutorials, programming and more.

We hate spam. Your email address will not be sold or shared with anyone else.

ALEXANDER OMOROKUNWA
MUST READ  First FOSS server in Nigeria courtesy Web4Africa

Tell us what you think