cat filename | grep ^[^#]
Linux下查看文件内容时去掉空行和#开头的注释行
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!
cat filename | grep ^[^#]