Thursday, November 21, 2024
HomeUNIXSolarisPower off a Solaris system

Power off a Solaris system

This command will safely turn off a Solaris system using the init command.


As superuser,

sync; sync; init 5

Using the init command instead of other options causes the system to use the runtime control scripts in /etc/rc0.d to stop system processes nicely and prevent data corruption.

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!