收藏本站 | 广告设计 | 设计素材 | 教程 | ppt素材 | 中职 | 范文 | 常识 | 学习方法 | 作文  
订阅
首页
高考试题中考试卷学习方法范文写作作文大全公务员考试英语考试中职教育生活常识评语大全
热门: 广告设计 设计素材 教程 ppt素材 自考试卷 计算机等级考试 财会类考试 建筑工程考试 医药类考试 考研 电脑学习 驾照考试 语录名言好词 周公解梦 偏方
当前位置:一路求学网电脑驾驶电脑学习操作系统Linux中的 shutdown reboot关机命令

Linux中的 shutdown reboot关机命令

一路求学网 http://www.16qiuxue.com  阅览次数: 110次 08-24 16:44:16 

标签:操作系统教程,操作系统的功能,http://www.16qiuxue.com Linux中的 shutdown reboot关机命令,


shutdown语法:
/sbin/shutdown[-t秒][-arkhncfF时间][警告信息]
eg:
/sbin/shutdown -h 10 ’Server will be shutdowned after 10 mins’
man下的参数:
OPTIONS
       -r     Requests that the system be rebooted after it has been brought down.
       -h     Requests  that  the  system  be either halted or powered off after it has
              been brought down, with the choice as to which left up to the system.
         
       -H     Requests that the system be halted after it has been brought down.
       -P     Requests that the system be powered off after it has been brought down.
       -c     Cancels a running shutdown.  TIME is not specified with this option,  the
              first argument is MESSAGE.
       -k     Only  send  out  the warning messages and disable logins, do not actually
              bring the system down.
eg:
shutdown -h now/0
shutdown -h 10:00 /*10点关机
shutdown -h +10  10mins后关机
shutdown -r now (reboot at once)
shutdown -r +30 ’System will reboot in 30mins’
shutdown -k ’System will reboot’(发送警告信息)
reboot命令
shutdown -r now几乎与reboot相同,关机之前输入回填指令:
sync;sync;sync;reboot
fsck - check and repair a Linux file system
fsck /dev/hda7:
To clear the wrong disk block of /dev/hda7 (单人单机模式root)shutdown reboot关机命令
shutdown语法:
/sbin/shutdown[-t秒][-arkhncfF时间][警告信息]
eg:
/sbin/shutdown -h 10 ’Server will be shutdowned after 10 mins’
man下的参数:
OPTIONS
       -r     Requests that the system be rebooted after it has been brought down.
       -h     Requests  that  the  system  be either halted or powered off after it has
              been brought down, with the choice as to which left up to the system.
         
       -H     Requests that the system be halted after it has been brought down.
       -P     Requests that the system be powered off after it has been brought down.
       -c     Cancels a running shutdown.  TIME is not specified with this option,  the
              first argument is MESSAGE.
       -k     Only  send  out  the warning messages and disable logins, do not actually
              bring the system down.
eg:
shutdown -h now/0
shutdown -h 10:00 /*10点关机
shutdown -h +10  10mins后关机
shutdown -r now (reboot at once)
shutdown -r +30 ’System will reboot in 30mins’
shutdown -k ’System will reboot’(发送警告信息)
reboot命令
shutdown -r now几乎与reboot相同,关机之前输入回填指令:
sync;sync;sync;reboot
fsck - check and repair a Linux file system
fsck /dev/hda7:
To clear the wrong disk block of /dev/hda7 (单人单机模式root) 
,Linux中的 shutdown reboot关机命令

网友评论>>

联系我们 | 网站地图 | 广告设计 | 设计素材 | 教程大全 | ppt素材 | 中职教育 | 范文大全 | 常识大全 | 学习方法 | 作文大全
一路求学网 版权所有. Copyright © - http://www.16qiuxue.com. All rights reserved.
学习方法_小学英语作文_驾照考试试题_幼儿园大班评语
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18