單項選擇題使用sed將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


您可能感興趣的試卷