操作系统的启动和停止:
关闭系统:shutdown 关闭操作系统最安全彻底的方法。
shutdown +30 "The system will be shutdown after 30 minutes"
提示用户系统降在30分钟后关闭。
shutdown -i 提示用户一步一步关闭系统。
shutdown -F 立即关闭系统。
halt : 只能用root用户执行
重启系统: shutdown -r
shutdown -ri +30 "The system will be reboot after 30 minutes"
shutdown -Fr
reboot 一般在单用户模式下执行。
切换到单用户模式:
shutdown -m
关闭系统:shutdown 关闭操作系统最安全彻底的方法。
shutdown +30 "The system will be shutdown after 30 minutes"
提示用户系统降在30分钟后关闭。
shutdown -i 提示用户一步一步关闭系统。
shutdown -F 立即关闭系统。
halt : 只能用root用户执行
重启系统: shutdown -r
shutdown -ri +30 "The system will be reboot after 30 minutes"
shutdown -Fr
reboot 一般在单用户模式下执行。
切换到单用户模式:
shutdown -m
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8362857/viewspace-703337/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8362857/viewspace-703337/