Unix and Linux Discussions Tagged with shutdown |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
10 |
10,289 |
Shell Programming and Scripting |
|
|
|
1 |
2,434 |
Solaris |
|
|
|
5 |
5,129 |
Debian |
|
|
|
2 |
5,184 |
HP-UX |
|
|
|
8 |
3,763 |
Solaris |
|
|
|
2 |
3,138 |
Linux |
|
|
|
6 |
2,689 |
Shell Programming and Scripting |
|
|
|
9 |
3,929 |
Programming |
|
|
|
2 |
3,070 |
HP-UX |
|
|
|
4 |
11,117 |
Red Hat |
|
|
|
2 |
2,842 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
10,535 |
Emergency UNIX and Linux Support |
|
|
|
1 |
4,821 |
OS X (Apple) |
|
|
|
6 |
5,562 |
Programming |
|
|
|
0 |
4,211 |
Ubuntu |
|
|
|
6 |
9,828 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,240 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
8,640 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,906 |
Solaris |
|
|
|
2 |
6,346 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
12,590 |
SuSE |
|
|
|
1 |
5,752 |
Shell Programming and Scripting |
|
|
|
0 |
5,647 |
Linux |
|
|
|
7 |
9,104 |
Shell Programming and Scripting |
|
|
|
0 |
2,663 |
UNIX and Linux RSS News |
|
|
|
39 |
31,915 |
Shell Programming and Scripting |
|
|
|
3 |
5,161 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,412 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
8,509 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,223 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,913 |
UNIX for Advanced & Expert Users |
|
|
|
10 |
5,435 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,127 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
11,616 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,430 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,492 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,549 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,588 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,666 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,404 |
UNIX for Dummies Questions & Answers |
shutdown(8) System Manager's Manual shutdown(8)
Name
shutdown - close down the system at a given time
Syntax
/etc/shutdown [ -k ] [ -r ] [ -h ] [ -o ] time [ warning-message ... ]
Description
The command provides an automated shutdown procedure that a superuser can use to notify users when the system is shutting down.
The time is the time at which will bring the system down. It may be the word `now', indicating an immediate shutdown, or specify a future
time in one of two formats: + number or hour : min. The first form brings the system down in number minutes. The second brings the system
down at the time of day indicated, using a 24-hour clock format.
At intervals which get shorter as shutdown nears, warning messages are displayed at the terminals of all users on the system. Warning mes-
sages are also sent to users who are logged in to a remote system that has mounted a file system or directory from the local system using
NFS. Five minutes before shutdown, or immediately if shutdown is timed for less than five minutes, logins are disabled by creating and
writing a message there. If this file exists when a user attempts to log in, prints its contents and exits. The file is removed just
before exits.
At shutdown time, a message is written in the file This message contains the time of shutdown, who ran shutdown, and the reason. Then, a
terminate signal is sent at to bring the system to single-user state.
If the or options are used, then executes or avoids shutting the system down (respectively). The option is for use by only. It indicates
to that it is being called by and not to return to the user.
You should place the time of the shutdown and the warning message in Use the message to inform the users about when the system will be back
up and why it is going down.
Restrictions
You can kill the system only between now and 23:59, if you use the absolute time for shutdown.
Files
Tells login not to let anyone log in
Log file for successful shutdowns
See Also
login(1), wall(1), halt(8), opser(8), reboot(8), rwalld(8c)
shutdown(8)