/usr/sbin/shutdown [ -y ] [ -g grace-period ] [ -i init-state ] [ message ]
Where
-y = Pre-answer the confirmation question
-g = Amount of time in seconds until shutdown
-i = Run-level to go to. -i0 to shutdown. -i6 to reboot
i.e shutdown -y -g0 -i0 will shutdown
the server immediately
Return to : Unix
System Administration Hints and Tips