Linux下查看文件内容时去掉空行和#开头的注释行

cat filename | grep ^[^#]

WARNING: No any other purpose,keeping reminded! So sorry to offended,if necessary, contact me and I do change what I had done to protect your privileges!
原文地址:https://www.cnblogs.com/MimiSnowing/p/10361831.html