初学Linux(持续跟新)-- 关机

    xiaoxiao2023-11-16  136

    正确的关机流程为:sync(将数据有内存同步到硬盘) > shutdown > reboot > halt

    shutdown -h 10/+10(十分钟后关机)

    shutdown -h now     shutdown -h 20:25   

    shutdown -c 取消即将进行的关机

    shutdown -r now/+10(立即重启、十分钟后重启)

    reboot  重启

    halt  关闭系统  等同于  shutdown  -h now    /   poweroff

    最新回复(0)