Find out which version of Ubuntu I am on

How I went about finding out which version of Ubuntu I was running

Recently (this morning) I had to find out which version of Ubuntu was running on a clients machine.  A quick google provided three articles of note all with different solutions.

  1. Type `cat /etc/issue` into the command line (no back ticks).
  2. Type `lsb_release -a` into the command line (no back ticks).
  3. If you have a GUI, open up FireFox and view the about dialog.

Recent posts View all

Ruby

How to ignore Bullet in RSpec tests

Using Bullet during a test can pick up mistakes but also has false negatives; here is an easy way to ignore them

Ruby

How we used Nokogiri to fix a sizing issue in YouTube's oEmbed

At some point, one of our calls to YouTube's oEmbed endpoint was returning videos way too small; we fixed in in our Rails application by using Nokogiri