Sukrit Dhandhania

How to get a list of files an RPM package depends on

Sometimes when you are trying to uninstall or upgrade some software on a Linux machine you run into dependency related issues. Just about everyone I know who works with RPM based distributions has experienced what is known as “rpm hell” or “dependency hell” at one time or another. Here’s something to help you a bit if you are stuck in one of those situations. …

How to Compress, Move, and Extract a Directory in Linux

The other day I needed to migrate a directory containing a lot of files from one location on my Linux server to another. There are a number of ways I could do this. Using a simple cp command could have done the trick. However, as the data I was copying was a database and I wanted to make sure that the copying was done perfectly, I looked on the Internet and found a brilliant one line bash solution for this. …