本文共 388 字,大约阅读时间需要 1 分钟。
shutdown命令
命令名称:shutdown
语法:shotdown [选项] 时间
选项:
# 服务器不允许关机,只允许重启# 立刻关机shutdown -h now# 定时关机shutdown -h 20:45# 立刻重启shutdown -r now# 如果我先执行了一个定时关机的命令,还可以执行以下命令取消上一个关机命令shutdown -c
其他关机命令
# halt# poweroff# init 0
其他重启命令
# reboot# init 6
系统运行级别
# 修改系统默认运行级别vi /etc/inittabid:3:initdefault:# 查询系统运行级别runlevel
转载地址:http://ntzfk.baihongyu.com/