What Linux Version Am I Running
I’ve googled this likely a few hundred times over the years so it is time to write it down as a blog post. When someone asks you what linux version you run, here are the commands to run:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
and then:
uname -v
#75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019
and then:
uname -r
4.15.0-66-generic
To summarize, give whoever is asking the result of these three commands:
- lsb_release -a
- uname -v
- uname -r