linux关机详解
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-04-17
项的含义为: [-t] seconds : 设定在几秒钟之后进行关机程序 [-k] 并不真正关机,而只是发出警告信息给所有用户. [-r] 关机后立即重新启动. [-h] 关机后不重新启动. [-f] 快速关机,重启动时跳过fsck. [-F] : 关机时,强迫进行 fsck 动作 [-n] 快速关机,不经过init程序. [-c] 取消一个已经运行的shutdown. ×需要特别说明的是,该命令只能由超级用户使用. time : 设定关机的时间 message : 传送给所有使用者的警告讯息 MAN shutdown 得到以下内容,可以作为对照 NAME shutdown - bring the system down SYNOPSIS /sbin/shutdown [-t sec] [-arkhncfF] time [warning-message] OPTIONS -a Use /etc/shutdown.allow. -t sec Tell init(8) to wait sec seconds between sending processes the warning and the kill signal, before changing to another run- level. -k Don''t really shutdown; only send the warning messages to every- body. -r Reboot after shutdown. -h Halt after shutdown. -n [DEPRECATED] Don''t call init(8) to do the shutdown but do it ourself. The use of this option is discouraged, and its results are not always what you''d expect. -f Skip fsck on reboot. -F Force fsck on reboot. -c Cancel an already running shutdown. With this option it is of course not possible to give the time argument, but you can enter a explanatory message on the command line that will be sent to all users.
|
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: linux启动故障排除下一篇: fail2ban封IP之Http
关于linux关机详解的所有评论