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 server?
How to Shut Down a Server
- Become superuser.
- Find out if users are logged in to the system. …
- Shut down the system. …
- If you are asked for confirmation, type y . …
- Type the superuser password, if prompted. …
- After you have finished the system administration tasks, press Control-D to return to the default system run level.
How do I shutdown a Linux server remotely?
How to shutdown the remote Linux server. You must pass the -t option to the ssh command to force pseudo-terminal allocation. The shutdown accepts -h option i.e. Linux is powered/halted at the specified time. A value of zero indicates poweroff the machine immediately.