Fun at work!

Shutdown the machine immediately

You can shutdown the machine immediately using the following command. It notifies all the logged in users about the system going down, and shuts down the machine.

# shutdown -h now

Broadcast message from john@example.com
	(/dev/pts/1) at 15:28 ...

The system is going down for halt NOW!

Reboot the machine immediately

You can reboot the machine immediately using the following command. It notifies all the logged in users about the system reboot.

# shutdown -r now

Broadcast message from john@example.com
	(/dev/pts/1) at 15:28 ...

The system is going down for reboot NOW!
Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s

Tag Cloud

%d bloggers like this: