linux關機命令總結

  咱們在使用linux的時候,不少人常常會像window同樣的關機,其實這樣的關機方法對於linux是很很差的,這樣不利於linux,還可能會致使有些文件的丟失,那麼在命令中有哪些是關機的呢?linux

  linux下經常使用的關機命令有:shutdown、halt等;重啓命令通常使用:reboot。spa

  重啓命令方法

  reboot 重啓文件

  (如下幾個通常是root用戶)時間

  shutdown -r now 馬上重啓co

  shutdown -r 10 過10分鐘自動重啓習慣

  shutdown -r 22:22 在時間爲22:22時候重啓

  shutdown -c 取消重啓

  關機命令

  halt 關機

  poweroff 馬上關機

  shutdown -h now 馬上關機

  shutdown -h 5 5分鐘後自動關機

  我我的通常重啓用reboot命令,關機通常用shutdown -h now,我的習慣,其實均可以,就是不要像window那樣關機就好

相關文章
相關標籤/搜索