Tech Tip: View Config Files Without Comments

65
Article Source Linux Journal
August 4, 2009, 8:09 am

I’ve been using this grep invocation for years to trim comments out of config files. Comments are great but can get in your way if you just want to see the currently running configuration. I’ve found files hundreds of lines long which had fewer than ten active configuration lines, it’s really hard to get an overview of what’s going on when you have to wade through hundreds of lines of comments…

Read More