Linux Command - shutdown

原文地址:http://linux.die.net/man/8/shutdown

-------------------------------------------示例---------------------

 可以用shutdown -c命令取消下列的操作

1. 关机

   (1) 立刻关机

[plain]  view plain  copy
 
  1. #shutdown -h now  

   (2) 10分钟后自动关机

[plain]  view plain  copy
 
  1. #shutdown -h 10  

2. 重启

  (1) 立刻重启

[plain]  view plain  copy
 
  1. #shutdown -r now  

  (2) 过10分钟自动重启

[plain]  view plain  copy
 
  1. #shutdown -r 10  

  (3) 在时间为20:35时候重启

[plain]  view plain  copy
 
  1. #shutdown -r 20:35  
 

猜你喜欢

转载自www.cnblogs.com/xiaobin-hlj80/p/9034335.html