How To Reboot a Solaris UNIX System Using CLI

How To Reboot a Solaris UNIX System Using CLI

To reboot a Solaris UNIX system using the command line, you can use the shutdown command with the -g option. The shutdown command is a command-line utility that initiates a shutdown of the system. The -g option tells the shutdown command to reboot the system after it has shut down.

Here's the basic syntax for the shutdown command with the -g option:

shutdown -g
Sou‮ecr‬:www.lautturi.com

This will initiate a reboot of the system.

It's important to note that the shutdown command requires root privileges to run. This means that you will need to use sudo to run the command if you are not logged in as the root user.

Here's an example of how to use the shutdown command with sudo and the -g option:

sudo shutdown -g

This will initiate a reboot of the system, after prompting you for the root password.

It's also a good idea to save any work and close any open connections before rebooting the system. Rebooting the system will cause it to shutdown and restart, which will temporarily disconnect any devices connected to it from the internet. Consult the shutdown documentation and online resources for more information on how to use the shutdown command to reboot a Solaris UNIX system.

Created Time:2017-10-28 21:38:53  Author:lautturi