It may sound weird to save /etc in some software like git, but let’s have a look why it does make sense: git is a revision control system that tracks changes and in case is able to revert them. Basically perfect for keeping track of our configuration files. You may not want to publish them on github as […]
Tag: config
Managing /etc/ using git
The directory /etc/ is vital for our Linux systems as it contains (most of) the configuration files of the system. In case of trouble, it’s quite common, that you’ll visit this directory after browsing through syslog. Sometimes it would be nice to be able to really track down changes to see what happened over time; and this is […]
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.