1、关机:shutdown -h now 2、重启:shutdown -r now 3、退出命令行: 不保存直接退出:按ESC键,然后冒号: 然后输入q保存退出:按ESC键,然后冒号: 然后输入wq 4、后面持续补充