Tag Archives: bash

Removing version numbers from … well anything

This one liner can remove the version numbers from any string (providing they start with a hyphen and a digit). Advertisements

Posted in CentOS, Linux, RedHat | Tagged | Leave a comment

Using RPM to find package dependencies

I recently discovered that is it actually rather difficult to determine which packages depend on a particular package using the RedHat Package Manager, and I ended up writing a short script to list all the dependencies for a particular package.

Posted in CentOS, RedHat | Tagged , | Leave a comment

Comparing lists of things…

Obviously when I want to compare two files I’m going to use  diff .

Posted in Linux | Tagged | Leave a comment

Downloading files using Wget

Or how to use up a lot of disk space real quick…!

Posted in Linux | Tagged , | Leave a comment

Check OS version (Debian/Ubuntu/Raspbian)

There are several ways to check which version of Debian, Ubuntu or Raspbian you are running.

Posted in Debian, Linux, Raspbian, Ubuntu | Tagged , , , , , , | Leave a comment