HOW TO SHUTDOWN AND REBOOT IN LINUX

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 WAYNE OMOROKUNWA
Latest posts by ALEXANDER WAYNE OMOROKUNWA (see all)
MUST READ  The Linux File System – Part 3: A forbidden tree? No!

Tell us what you think

This site uses Akismet to reduce spam. Learn how your comment data is processed.