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

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

dd

原文地址:https://www.cnblogs.com/hanggegege/p/6561848.html