Ulyssesonline

the tech surfer

  • Home
  • About
  • Archives
You are here: Home / General / Find Your Linux Release Info

December 5, 2011

Find Your Linux Release Info

What’s the likelihood of you not knowing which version of Linux distro you are running? It’s probably a lot higher than you expect. I’ve had to do this at least twice before. If you’re not sure or you simply want to validate your distro, you can run the following commands to get the distro info.

Ubuntu

cat /etc/lsb-release

cat /etc/lsb-release

Fedora

cat /etc/fedora-release

cat /etc/fedora-release

Debian

cat /etc/*release

cat /etc/*release

OpenSuse

cat /etc/SuSE-release

cat /etc/SuSE-release

In Ubuntu, running the command above returns the following info.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"

Filed Under: General, Linux Tagged With: buntu, debia, fedora, Linux, redhat, release info

Copyright © 2003 - 2018