Some Commands to shutdown and restart Linux OS

To shutdown we can use any of the following commands.

#init 0

#poweroff

#shutdown -h now

#shutdown -h 0

#shutdown -h 10 (will shutdown after 10 minutes)

#halt -p

To restart we can use any of the following commands:

#init 6

#reboot

#shutdown -h now

Ctrl+Alt+Delete (3 finger salute)

Advertisements

2 Comments »

  1. Thanx, it’s very beneficial. I hope linux will be pervasive in bangladesh…

  2. John said

    I’m trying to figure out a way to automate a Linux shutdown and restart. I want to shut down my Linux server at night and automatically restart the next day. Any ideas?

RSS feed for comments on this post · TrackBack URI

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: