It is useful to shut down or reboot Linux with shell command from a terminal or shell prompt especially when remote access is applied or the GUI stop working.
To shutdown / power off Ubuntu Linux, type the command:
sudo halt
OR
sudo shutdown -h now
To reboot Ubuntu Linu, type the command:
sudo reboot
More information can be found by following commands:
man reboot
man shutdown
阅读(429) | 评论(0) | 转发(0) |