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
learning computer said
Thanx, it’s very beneficial. I hope linux will be pervasive in bangladesh…
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?