Shutdown/Restart different flavors of UNIX

0
465
HP-UX System Shutdown/Restart
To shut down and halt using HP-UX commands when HP VUE is running,
you must first stop HP VUE and then shut the system down.
* From the login window, choose No Windows and log in as root.
* At the prompt, type init 2; exit. This will stop VUE.
* Log in as root again and type one of the following shutdown commands.
To shut down HP-UX for power-off, you can do any of the following:
#telinit 0
#shutdown -h -y now
To shut down and reboot HP-UX:
#reboot
#shutdown -r -y now
To shut down HP-UX to single-user mode:
# telinit S
# shutdown -y now # shutdown 0
AIX System Shutdown/Restart
The following examples must be done while logged in as root.
To shut down the system in 10 minutes:
#shutdown +10
To do a fast shutdown now with no warnings:
#shutdown -F
To shut down with a warning for users to log off:
#shutdown now
To shut down with a one-minute warning and then reboot:
#shutdown -r
To reboot immediately:
#shutdown -Fr
#reboot
To shut down AIX to single-user mode:
#telinit S # init s
To shut down to maintenance mode:
#shutdown -m
Solaris System Shutdown/Restart
The following examples must be done while logged in as root.
You have more than one command option that you can use. The best command is this, executed as root:
#shutdown -y -i5 -g0
This will immediately shut the system down. You can also use the older command that still works:
#sync;sync;init 5
You can even use:
#poweroff
Reboot Solaris
If you are trying to reboot the system as opposed to turning it off, you could use:
#shutdown -y -i6 -g0
OR:
sync;sync;init 6
OR even:
Reboot
Linux System Shutdown/Restart
The following examples must be done while logged in as root.
Shutdown immediately:
#shutdown -h now
#halt
#poweroff
#init 0
Shutdown at 8 pm:
shutdown -h 20:00
Shutdown in 10 minutes: 
shutdown -h +10
Reboot immediately:
#shutdown -r now
#reboot
#init 6

LEAVE A REPLY

Please enter your comment!
Please enter your name here