在Shell中,for var in {1..5}与for var in 1 2 3 4 5是等价的。
查看答案
break强行退出循环,然后执行循环后面的代码。
A. 对
B. 错
使用source命令执行Shell脚本时,需要给脚本赋予执行权限。
A. 对
B. 错
RHEL6中启动DNS服务的守护进程的命令( )
A. service httpd start
B. service httpd stop
C. service named start
D. service named stop
RHEL7中启动DNS服务的守护进程的命令( )
A. systemctl start named
B. systemctl stop named
C. systemctl restart named
D. systemctl status named