egrep对于conf文件中去掉#注释,排除无用项

[root@localhost conf]# egrep -v "#|^$" nginx.conf.default > nginx.conf

 

 

 

 

dd

posted @ 2017-03-16 21:57  航飞冲天  阅读(878)  评论(0编辑  收藏  举报