1、halt命令可以停止系统运行,但不关闭电源;poweroff命令也可实现关机,同时关闭电源。它们两个都是调用shutdown命令来进行的,reboot可以将机器重启。
2、常用方式格式:halt格式:shutdown -h停止系统运行,但不关闭电源。
3、格式:poweroff停止系统运行,同时关闭电源。格式:reboot重启系统。
4、SendingallprocessestheTERMsingal...[蚪嬷吃败OK]SendingallprocessestheKILLsingal ... [OK]Syncinghardwareclocktosystemtime[OK]Turningoffswap:[OK]
5、Turningoffquotas:[OK]Unmountingfilesy衡痕贤伎stems:[OK]Haltingsystem...md:st泠贾高框oppingallmddevicesflushingidedevices:hdcSystemhalted.