5/5 - (2 votes)

To immediately shut down the server, you can use the following command:

shutdown -h now or shutdown -h 0 or poweroff

You can also use:

halt or telinit 0

If there are still users in the system, use the following command:

# wall "Server is shutting down in 10 minutes. Please save all work."
# shutdown -h +10

Then warn users and turn off the server after 10 minutes.

Are there any problems with the server? Contact the professionals at [email protected]. Installing and configuring Linux and Windows servers.