GNU/Linux Command – SHUTDOWN

shutdown — Bring the system down (Need Root privilege)

Summary :

Shutdown brings the system down in a proper and secure way. All logged-in users are notified that the system is going down, and login is blocked. All processes are first notified that the system is going down by the signal SIGTERM. Runlevel 0 is used to halt the system, run level 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

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: