LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where can I see my linux version? (https://www.linuxquestions.org/questions/linux-newbie-8/where-can-i-see-my-linux-version-4175448501/)

mariosv 02-03-2013 04:40 PM

Where can I see my linux version?
 
Where I can see my linux version in Opensuse?

kbp 02-03-2013 04:42 PM

Open a terminal:
Code:

# for OS release information
cat /etc/SuSE-release

# for kernel version
uname -r


Habitual 02-03-2013 04:57 PM

Code:

lsb_release -drc

mariosv 02-03-2013 06:40 PM

Hi kbp / Habitual, thanks for the quick answer.

TobiSGD 02-03-2013 06:49 PM

Just for completeness, most modern distributions have a file /etc/os-release which contains version information and other useful things.
For example, on Slackware 14 it looks like this:
Code:

NAME=Slackware
VERSION="14.0"
ID=slackware
VERSION_ID=14.0
PRETTY_NAME="Slackware 14.0"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:slackware:slackware_linux:14.0"
HOME_URL="http://slackware.com/"
SUPPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
BUG_REPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"


james_201 02-22-2013 01:51 PM

uname -a

tailinlinux 02-23-2013 02:29 AM

Quote:

Originally Posted by Habitual (Post 4883808)
Code:

lsb_release -drc

this command is great thankse

shivaa 02-23-2013 07:25 AM

Check either of following file:
Code:

~$ cat /etc/issue
~$ cat /redhat-release
~$ uname -a
~$ cat /etc/release



All times are GMT -5. The time now is 09:56 PM.