If you want to edit a bunch of files – for dns updates on bind for example, do this:
sed –i s/<text to replace>/<text to replace with>/g filename_to_change
If you’re concerned about backups, then you can do this:
sed –i’<orginal backup file extension>’ s/<text to replace>/<replacement text>/g filename_to_change
e.g. if we want to edit a file and keep the [...]
There are, apparently, two ways to create a clone of the Virtualbox drives. The ‘right’ way and the ‘wrong’ way.
The right way is to use the following:
VBoxManage clonehd <filename> <outputfile>
You can optionally use the UUID as the input filename.
Anyway, the ‘wrong’ way to do it is to make a copy of the .vdi file in [...]