• How to Shutdown or Reboot your CentOS machine?

    You can shutdown your CentOS machine by executing this command

    shutdown -h now

    You can tell CentOS to reboot after shutdown using the following command

    shutdown -r now

    If you want to shutdown or reboot the system after a while you can replace "now" with the number of minutes to wait such as the following command that will reboot the machine after 2 minutes

    shutdown -r 2

    I hope you found this tutorial useful and stay tuned for more to come

    Share this post