單項選擇題將apache配置文件中的端口號直接修改為8080,可用()

A.grep’s/listen.*/listen8080/’/etc/httpd/conf/httpd.conf
B.sed-i’s/listen.*/listen8080/’/etc/httpd/conf/httpd.conf
C.sed’/listen.*/d’/etc/httpd/conf/httpd.conf
D.sed-n’/listen.*/p’/etc/httpd/conf/httpd.conf


您可能感興趣的試卷