What version of Ubuntu am I on?

November 12th, 2014 by Alistair MacDonald Leave a reply »

This is a question that I ask myself a lot and keep having to look up almost every time. Sometimes I am not certain what distribution I am actually using. Here is the summery version that hopefully will save me having to look the command up each time, and perhaps help you as well.

To find out all the version information about the Linux kernel you are running run the command…

uname --all

To find out the OS release (such as the Ubuntu version) have a look in the os-release file…

more /etc/os-release

…and on most systems you can look at that same information neatly formatted using…

lsb_release

Advertisement

1 comment

  1. FourQ says:

    Useful commands. Thanks.

Leave a Reply

css.php