The shutdown command for Linux and UNIX is used to shutdown your Linux system properly.
This command will bring down the system immediately.
shutdown -h now |
This will shut down the system in 60 minutes.
shutdown -h +60 |
Use this command to reboot the computer immediately.
shutdown -r now |
Here is an alternative command for shutting down your machine. This will switch to runlevel 0 and switch off your computer.
init 0 |
Of course, the user could use this command as well.
poweroff |
As the name implies, this will shut down your machine.
On Debian Wheezy can do this
shutdown use:
#halt
reboot systems use:
#reboot