UNIX
UNIX systems usage, administration and development information.

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.
UNIX

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

r3 - 09 Oct 2008 - 02:25:53 - RobertSajan
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.
This site is powered by the TWiki collaboration platformCopyright 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Ahatwiki? Send feedback Syndicate this site RSSATOM