Shut Down Solaris 11 Express
Here’s a quick command on how to shut down – or power off – a Solaris machine. I tried this using Solaris 11 Express, but have also tested it to work on OpenSolaris and OpenIndiana.
From the terminal:
$ sudo shutdown -y -i5 -g0
This is what it means:
- sudo: Run the command with elevated privileges. Not needed if logged in as root
- shutdown -y: Confirm that you DO want to shut down the system
- i5: init level 5: Power off the machine.
- g0: (it’s not “go”, it’s gzero). Shut down the machine immediately without a grace period. Increase the number to delay the shutdown by n amount of seconds. I always use 0 seconds on my Solaris server.