1. 程式人生 > >Linux中的關機操作

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分鐘後進行系統重啟不是真的重啟。