This post will guide you how to check the current SUSE Linux version. How do I find out the OpenSUSE/SuSE Linux version via Command Line Interface.
Check SUSE Version
If you are using a SUSE Linux, or OpenSUSE Linux, and you want to know the version of your SUSE Linux. You need to use the cat command to view /etc/SuSE-release file to get the result.
Type the following command:
# cat /etc/SuSE-release
Outputs:
# cat /etc/SuSE-release SUSE Linux Enterprise Server 12 (x86_64) VERSION = 12 PATCHLEVEL = 1
Or
# cat /etc/issue
Outputs:
# cat /etc/issue Welcome to SUSE LINUX Enterprise Server 12 (i586) -kernel \r (\l)
Or
# cat /etc/os-release
Outputs:
# cat /etc/os-release NAME=openSUSE VERSION="20150612 (Tumbleweed)" VERSION_ID="20150612" PRETTY_NAME="openSUSE 20150612 (Tumbleweed) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:20150612" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse"
Or you can also use lsb_release command to get the version of your current OpenSuSE Linux. Type the following command:
$ lsb_release -a
Note: if your system do not install the lsb-release package,you can type the following command to install it. Type:
$ sudo zypper install lsb-release