sync
將數據由內存同步到硬盤中。 shutdown 關機指令,你可以man shutdown 來看一下幫助文檔。例如你可以運行如下命令關機: shutdown –h 10 ‘This server will shutdown after 10 mins’ 這個命令告訴大家,計算機將在10分鍾后關機,並且會顯示在登陸用戶的當前屏幕中。 Shutdown –h now 立馬關機 Shutdown –h 20:25 系統會在今天20:25關機 Shutdown –h +10 十分鍾后關機 Shutdown –r now 系統立馬重啟 Shutdown –r +10 系統十分鍾后重啟 reboot 就是重啟,等同於 shutdown –r now halt 關閉系統,等同於shutdown –h now 和 poweroff