strip comments and blank spaces out of file for viewing
~ $
grep -v \# <text file name> | grep -v ^$
Description
I use this command a lot to view enabled options in a config file, while stripping out any comments.