'\" te .\" Copyright (c) 1980 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. .TH SHUTDOWN 1B "Oct 11, 1994" .SH NAME shutdown \- close down the system at a given time .SH SYNOPSIS .LP .nf \fB/usr/ucb/shutdown\fR [\fB-fhknr\fR] \fItime\fR [\fIwarning-message\fR]... .fi .SH DESCRIPTION .sp .LP \fBshutdown\fR provides an automated procedure to notify users when the system is to be shut down. \fBtime\fR specifies when \fBshutdown\fR will bring the system down; it may be the word \fBnow\fR (indicating an immediate shutdown), or it may specify a future time in one of two formats: \fB+\fR\fInumber\fR and \fIhour\fR\fB:\fR\fImin.\fR The first form brings the system down in \fInumber\fR minutes, and the second brings the system down at the time of day indicated in 24-hour notation. .sp .LP At intervals that get closer as the apocalypse approaches, warning messages are displayed at terminals of all logged-in users, and of users who have remote mounts on that machine. .sp .LP At shutdown time a message is written to the system log daemon, \fBsyslogd\fR(8), containing the time of shutdown, the instigator of the shutdown, and the reason. Then a terminate signal is sent to \fBinit\fR, which brings the system down to single-user mode. .SH OPTIONS .sp .LP As an alternative to the above procedure, these options can be specified: .sp .ne 2 .na \fB\fB-f\fR\fR .ad .RS 6n Arrange, in the manner of \fBfastboot\fR(1B), that when the system is rebooted, the file systems will not be checked. .RE .sp .ne 2 .na \fB\fB-h\fR\fR .ad .RS 6n Execute \fBhalt\fR(8). .RE .sp .ne 2 .na \fB\fB-k\fR\fR .ad .RS 6n Simulate shutdown of the system. Do not actually shut down the system. .RE .sp .ne 2 .na \fB\fB-n\fR\fR .ad .RS 6n Prevent the normal \fBsync\fR(2) before stopping. .RE .sp .ne 2 .na \fB\fB-r\fR\fR .ad .RS 6n Execute \fBreboot\fR(8). .RE .SH FILES .sp .ne 2 .na \fB\fB/etc/rmtab\fR\fR .ad .RS 14n remote mounted file system table .RE .SH SEE ALSO .sp .LP .BR login (1), .BR fastboot (1B), .BR sync (2), .BR rmtab (5), .BR attributes (7), .BR halt (8), .BR reboot (8), .BR syslogd (8) .SH NOTES .sp .LP Only allows you to bring the system down between \fBnow\fR and 23:59 if you use the absolute time for shutdown.