Linux中的 shutdown reboot关机命令
- [08-24 16:44:16] 来源:http://www.85jc.com 操作系统 阅读:8110次
概要: -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
Linux中的 shutdown reboot关机命令,标签:操作系统教程,操作系统的功能,http://www.85jc.com
-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)
上一页 [1] [2]
Tag:操作系统,操作系统教程,操作系统的功能,电脑学习 - 操作系统
上一篇:我的电脑浏览器常显示IE8浏览器已关闭