shutdown

shutdown -h +1 (1分钟后关机)

shutdown -h now (现在关机)

shutdown -h 11:00 

shutdown -r now  (现在重启)

h  halt 关机


halt/poweroff/reboot(通常不带任何参数)

halt和poweroff是reboot的两个参数

0(关机运行级别)----halt       命令  init 0 :关机

6(重启运行级别)----reboot  命令  init 6 :重启

*存储在/etc/inittab


Ctrl+c:取消


logout  注销

exit 

Ctrl+D

Linux命令学习(1)-关机、重启、注销_Linux学习、命令学习