Category: Bash tips

[one-liners] Find Reverse Depends of a Package

Sometimes you have a package installed and you want to know what other packages depend on it (such as a lib package). This one-liner only works on Debian/Ubuntu (apt/dpkg) based systems, but I’m sure a simmilar method works for rpm

Tagged with: , , , , ,

Bash tip: Extracting content from compressed files without the hassle

If you work with file archives that come in many different “flavors”, you might find this little trick to be a handy one. Add a function to your .bash_profile that runs the proper extraction command based on the file’s extension(s).

Tagged with: , , ,