How-to check my Linux distro (not kernel!) version

To check your Linux distribution version (i.e. release)…

—————————-

On Ubuntu/Debian:

cat /etc/lsb-release
or
cat /etc/debian_version

—————————-

On RedHat/Fedora:

$ cat /etc/fedora-release

—————————-

On Slackware:

cat /etc/slackware-version

—————————-

One thought on “How-to check my Linux distro (not kernel!) version

  1. On Redhat machines, it is /etc/redhat-release

    and for SuSE machines, you can use /etc/SuSE-release

Leave a Reply

Your email address will not be published. Required fields are marked *