centos7关机命令是什么
centos7关机命令是“shutdown”。shutdown命令可用来关闭系统,并在关机前发送信息给所有使用者,也可用来重启系统,语法为“shutdown [-t seconds] [-rkhncff] time [信息]”;例如立刻关机用“shutdown -h now”、立刻重启用“shutdown -r now”、指定时间关机用“shutdown -h 小时:分钟”。

本教程操作环境:CentOS 7系统、Dell G3电脑。
centos7关机命令是“shutdown”。
shutdown 命令可以用来关闭系统,并且在关机前发送信息给所有使用者,也可以用来重启系统。

语法
该命令的语法如下:
shutdown [-t seconds] [-rkhncfF] time [message]

发表评论