Moved from disqus comments
how to shut down linux pc
Moved from disqus comments
how to shut down linux pc
Hi,
there are actually few linux commands on how to shutdown Linux system. Note that you need to be root in order to shutdown your system:
# init 0
# shutdown -h now will bring your system down immediately. You can also specify delay. For example
# shutdown -h +10 will shutdown your system with 10 minutes delay.
# halt
# poweroff
Please note that halt and poweroff are both usually aliases to reboot command:
# ls -l /sbin/halt
lrwxrwxrwx 1 root root 6 2011-10-27 16:17 /sbin/halt -> reboot
# ls -l /sbin/poweroff
lrwxrwxrwx 1 root root 6 2011-10-27 16:17 /sbin/poweroff -> reboot
hope this helps
Lubos