Linux中的关机操作

 

shutdown -h now //马上停止服务进行关机

shutdown -h  12:00 、//在12点后进行关机

shutdown -h +10   //在10分钟后进行关机

shutdown -r  now   //马上关闭服务并重启

 shutdown -r +30 'the system will reboot'  // 提醒用户30分钟进行重启     系统30分钟后进行重启

shutdown -k +30 'the system will reboot' //提醒用户30分钟后进行系统重启不是真的重启。

原文地址:https://www.cnblogs.com/zouhong/p/10061769.html