1. 关机:
shutdown  -h
  1. 重启:
shutdown  -r
  1. 指定时间:
shutdown  -r  +1  #一分钟后关机
shutdown  -h  22:00  #晚上10点钟关机
  1. 取消操作:
shutdown  -c