0% found this document useful (0 votes)
87 views1 page

How Do I Use Shutdown Command?

The document provides instructions for shutting down or rebooting a computer system using the shutdown command. It explains that shutdown notifies users, prevents new logins within the last 5 minutes, and brings the system down safely. Instructions are given for an immediate shutdown or reboot, scheduling a shutdown at a specific time with a custom message, and rebooting using either the reboot or shutdown command.

Uploaded by

DennyTemplonuevo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views1 page

How Do I Use Shutdown Command?

The document provides instructions for shutting down or rebooting a computer system using the shutdown command. It explains that shutdown notifies users, prevents new logins within the last 5 minutes, and brings the system down safely. Instructions are given for an immediate shutdown or reboot, scheduling a shutdown at a specific time with a custom message, and rebooting using either the reboot or shutdown command.

Uploaded by

DennyTemplonuevo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Shutdown command

shutdown arranges for the system to be brought down in a safe way. All logged-in users are notified
that the system is going down and, within the last five minutes of TIME, new logins are prevented.
The shutdown utility provides an automated shutdown procedure for supersers to nicely notify users
when the system is shutting down, saving them from system administrators, hackers, and gurus,
who would otherwise not bother with such niceties.

How do I use shutdown command?


The shutdown command can be used to turn off or reboot a computer. Type the command as follows
to shutdown server / computer immediately:
$ sudo shutdown -h now
OR
$ sudo shutdown -h 0

How do I shutdown compute at specific time?


To shutdown computer in 1 minute, enter:
command $ sudo shutdown -h XX:YY

To shutdown computer at 6:45pm, enter:


$ sudo shutdown -h 18:45 "Server is going down for maintenance"

At 6:30pm message will go out to all user and 6:45 system will shutdown.
Please note that you can also use halt or poweroff or reboot command for stopping and restarting
the system:

$ sudo halt
OR
$ sudo poweroff

How do I reboot computer?


Simply use reboot command:
$ sudo reboot
OR
$ sudo shutdown -r 0

You might also like