Solaris Transition Guide

Changes to the shutdown Command

The SunOS release 5.7 shutdown command includes only the options in Table 8-5. This command and its options are described in System Administration Guide, Volume I.

Table 8-5 SunOS Release 5.7 shutdown Command Options

Option 

Description 

-g

Selects "grace" period before shutdown begins.

-i [init state]

Specifies an initial run level (see Table 8-3).

-y

Runs shutdown without asking confirmation questions.

Assumes a "yes" response to all questions. 

-message

Specifies user-supported message. If more than one word, use quotes around the message. 

By default, the SunOS release 5.7 shutdown command asks you to confirm before an actual shutdown begins. You can use the -y option to run it without operator intervention.

The shutdown options are available only in BSD source compatibility mode on Solaris 7 systems.

See Appendix A, Commands Reference Table, for a summary of changes. See shutdown(1M) for information about how the command works.