In the following example, the shutdown command is used to reboot a SPARC based system to run level 3 in two minutes without requiring additional confirmation.
# who root console Jul 14 14:14 rimmer pts/0 Jul 14 14:15 (starbug) pmorph pts/1 Jul 14 14:15 (bluemidget) # shutdown -i6 -g120 -y Shutdown started. Wed Jul 14 14:16:08 MDT 1999 Broadcast Message from root (console) on earth Wed Jul 14 14:16:08... The system earth will be shut down in 2 minutes . . . Changing to init state 6 - please wait # INIT: New run level: 6 The system is coming down. Please wait. . . . The system is down. syncing file systems... done rebooting... . . . earth console login: