Tag Archives: backup

A convenient Bash function to backup configuration file

For sysadmins, it’s a good practice to backup configuration files before changing them. We normally do it via cp. eg: cp named.conf named.conf.bak cp named.conf named.conf.orig I personally like to use the date time as the file name suffix, so … Continue reading

Posted in Programming, System Administration | Tagged , | Leave a comment