What Is the Command to Shutdown Linux Server?

What Is the Command to Shutdown Linux Server?
Contents

Type shutdown , a space, +15 , a space, and then the message to send to the users. shutdown +15 Shutting down in 15 minutes!

How do I shutdown a Linux server?

The syntax of the Linux shutdown command is as follows:

  1. shutdown [OPTION] [TIME] [MESSAGE]
  2. shutdown -h.
  3. shutdown.
  4. shutdown -r.
  5. shutdown -h 0.
  6. shutdown now.
  7. shutdown -r 0.
  8. shutdown -r now.

What is command to shutdown Linux?

The shutdown command in Linux is used to shutdown the system in a safe way. … Only root user can execute shutdown command. Syntax of shutdown Command shutdown [OPTIONS] [TIME] [MESSAGE] options – Shutdown options such as halt, power-off (the default option) or reboot the system.

Sarah Jenkins
Author

Sarah Jenkins

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.