Finding your linux version

Useful CLI commands that I’ve compiled in order to determine which flavor/version of Linux I’m running.

Kernel: uname -r
Distro: lsb_release -a

Prints certain system information usually related to the kernel (-a is the ALL switch).

Output:

You can cat the /proc/version file:

Output:

cat the /etc/lsb-release

Debian has /etc/debian_version

Fedora has /etc/fedora-release

Red Hat/CentOS has /etc/redhat-release

Gentoo has /etc/gentoo-release

You may be able to try out cat /etc/issue

 

 

Mr-Moo

IT Director/System Engineer at 127.0.0.1
Currently residing in Southwest Florida, though Indiana native. I've always enjoyed technology and it's been a passion my entire live.

Latest posts by Mr-Moo (see all)

Leave a Reply