要重新启动Linux操作系统,可使用( )命令。A.init 0 B.shu

题库2022-08-02  41

问题 要重新启动Linux操作系统,可使用(  )命令。A.init 0B.shutdown -rC.haltD.shutdown -h

选项 A.init 0
B.shutdown -r
C.halt
D.shutdown -h

答案 B

解析 Linux下常用的关机命令有: shutdown、 halt、 poweroff、init 0; 重启命令有: reboot、 init 6。
重启命令:
(1) reboot-——重启。
(2) init 6-——重启。
(3) shutdown -r now——立刻重启(root 用户使用)。
(4) shutdown-r 10——过10分钟自动重启(root 用户使用)。
(5) shutdown -r 20:35——在时间为20:35 时候重启(root 用户使用)。如果是通过
shutdown命令设置重启的话,可以用shutdown-c命令取消重启。
转载请注明原文地址:https://tihaiku.com/congyezige/2430697.html

最新回复(0)