IT Tip of the Day

This is a sweet and short way of getting rid of comments in your config files:

sed -e ‘/^#| *#/d’ /path/to/config

Be nice to the forum people. Short configs are easier to check as you do not have to dig through all the comments on reading.

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.