将apache配置文件中的端口号直接修改为8080,可用()A.grep’s/listen.*/listen8...
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