[glug-t] One Day One GNU/Linux Command (SHUTDOWN)
- From: Bharathi Subramanian <sbharathi@xxxxxxxxxxxxx>
- To: GNU/Linux User Group of TCE <glugot@xxxxxxxxxxxxx>, GNU/Linux Users Group - Trichy <glug_t@xxxxxxxxxxxxx>, VEC-FOSS <vecfoss@xxxxxxxxxxxxxxxx>
- Date: Thu, 22 May 2008 12:12:38 +0530 (IST)
One Day One GNU/Linux Command
=============================
Warning: Don't try this in the production/server machines.
shutdown -- Bring the system down (Need Root privilege)
Summary:
shutdown brings the system down in a secure way. All logged-in users
are notified that the system is going down, and login is blocked. All
processes are 1st notified that the system is going down by the signal
SIGTERM. Runlevel 0 is used to halt the system, runlevel 6 is used to
reboot the system.
Examples:
# shutdown 12:00 -- Shutdown at 12:00
# shutdown +10 -- Shutdown after 10min
# shutdown now -- Immediate shutdown (now == +0)
# shutdown -t 10 -- Wait 10 Sec after warn the user
# shutdown -k -- Don't really shutdown; only warn
# shutdown -r -t 5 -- Reboot after shutdown
# shutdown -h -t 5 -- Halt after shutdown
# shutdown -f now -- Skip fsck (File System Check) on reboot
# shutdown -F now -- Force fsck on reboot
# shutdown -c -- Cancel the already waiting shutdown process.
Read: man shutdown
HTH :)
--
Bharathi S
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with
'unsubscribe' as subject.
Website: http://glugt.linuxisle.com
Other related posts:
- » [glug-t] One Day One GNU/Linux Command (SHUTDOWN)