Linux Tip: Check Which Linux Version You’re Running

Guides and help forums always ask the same first question: which version of Linux are you running? If you don’t know, you can find out in about ten seconds — no digging through settings required.

The quickest way: one command

  1. Open a terminal. On most desktops, press Ctrl + Alt + T.
  2. Type cat /etc/os-release and press Enter.
  3. Look at the PRETTY_NAME line at the top. It spells it out plainly, something like “Ubuntu 24.04.1 LTS” or “Linux Mint 22”.

That one line gives you the name and the version number — exactly what most guides ask for.

Want the short version?

  1. In the same terminal, type lsb_release -a and press Enter.
  2. You’ll get a short list: the distributor, the description, and the release number, with nothing extra.

If that command says it’s not found, stick with the first one — cat /etc/os-release works on almost every modern Linux system.

Check the kernel too

  • Kernel version: type uname -r for just the number, or uname -a for the full details.
  • No terminal needed: on most desktops you can also open Settings and look for About — the system name and version are listed there.

Why it matters

Install instructions, driver downloads, and fixes often only work on certain versions. Knowing yours before you start saves you from following a guide written for a different release and wondering why the steps don’t match.

Ten seconds in a terminal, and you’ll never have to guess.

Filed under: Computer Tips