Guests are welcome to view our materials. To subscribe, edit, view raw markup, etc., you'll need to register for an account. Accounts are free (and will always be free) - your involvement helps us directly and indirectly (by demonstrating that our work matters to our funders...)
StartingPoints has more info.
shutdown
shutdown
shutdown brings the system down securely:
- all current users are notified that the system will shut down
- login is blocked
- all processes are notified that the system will shut down with the signal SIGTERM
shutdown signals the
init process to change the runlevel to either 0 for shutdown or 6 to reboot the system.
shutdown examples
shutdown in 5 minutes, with default warning message
shutdown 5
reboot in 5 minutes, with default warning message
shutdown -r 5
shutdown in 5 minutes and broadcast the supplied message to system users
shutdown 5 'system is going down'
shutdown at 23:15 (i.e. 11:15 pm)
shutdown -h 23:15
go to single user mode (i.e. run level 1) - this is a mode where only the admin (i.e. root) has access to the computer
shutdown now
--
RobertSajan - 03 Oct 2008