Added to .bash_aliases the following
alias confgrep='egrep -v "^$|^#"'
I find myself too often going through massive config files and only wanting to see what is actually in the config, instead of weeding through a massive amount of whitespace and commented out documentation. I think squid.conf is probably the worst offender of this and the default snmpd.conf has a good amount of spew in it as well. Literally all of squids documentation is located in it's configuration file, while it is somewhat useful, it's usually just means a bigger PITA to find what you are looking for.
Should have done this a while ago...
Sunday, March 2, 2008 at 10:29 PM Posted by anonymouscoward
Labels: linux
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment