文件中不显示#开头和空格

sed -e '/^#/d' -e '/^$/d' redis.conf

原文地址:https://www.cnblogs.com/jabbok/p/9482809.html