Fix RPM process hanging on a Red Hat Linux installation

Unfortunately, it happens rather often recently that Red Hat Package Manager (rpm) just hangs during some operation. After it does so, rpm stops working completely and even reboot (hehe) doesn’t help. Well, the problem is well known and is in Red Hat’s bugzilla. For now, here is a quick fix for you.

Continue reading Fix RPM process hanging on a Red Hat Linux installation

Temporary backup of a few files

Now, calm down, we are not talking about tar(1) or cpio(1) backups. Sometimes, there is a need to make a temporary copy of a few files and then copy them back to original filenames. Let’s say you have a directory with few config files and you want to copy each config file to filename.orig, and then, later, restore it to the original name. Here is how you can do it… Continue reading Temporary backup of a few files