Visit The New, Modern Unix Linux Community


How to know the Linux version?


 
Thread Tools Search this Thread
Operating Systems Linux How to know the Linux version?
# 1  
How to know the Linux version?

Hi,

How to know the Linux version in the box in which linux is installed ?
[ the cammand would do the needful ]

Cheers
K Md Shakeel
# 2  
You can get the kernel version with
Code:
$ uname -r
2.6.11.4-20a-smp

The version of the distribution is usually in a file in the /etc directory. Look for a file like /etc/*release

---------- Post updated at 11:19 ---------- Previous update was at 10:50 ----------

If it's SuSE, you have a file /etc/SuSE-release looking like this:
Code:
SuSE Linux 9.3 (i586)
VERSION = 9.3

Ubuntu comes with a file /etc/lsb-release looking like:
Code:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"

# 3  
Quote:
Originally Posted by hergp
You can get the kernel version with
Code:
$ uname -r
2.6.11.4-20a-smp

The version of the distribution is usually in a file in the /etc directory. Look for a file like /etc/*release

---------- Post updated at 11:19 ---------- Previous update was at 10:50 ----------

If it's SuSE, you have a file /etc/SuSE-release looking like this:
Code:
SuSE Linux 9.3 (i586)
VERSION = 9.3

Ubuntu comes with a file /etc/lsb-release looking like:
Code:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"

thanks a lot.
# 4  
/etc/issue also.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #799
Difficulty: Medium
In digital numeral systems, the radix is the number of unique digits minus 1.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Using Linux to determine version of Windows

This is an odd question and I didn't really know what category it fits. I just installed Ubuntu 12.10. During the installation process, the screen informed me that Windows 7 was installed in a particular partition. I'm just wondering how this was accomplished. Using 'fdisk -l' will indicate... (1 Reply)
Discussion started by: jamarsh
1 Replies

2. Linux

Linux Version of IE?

Is there a linux version of IE? (5 Replies)
Discussion started by: billcrosby
5 Replies

3. Shell Programming and Scripting

need to know the version of Linux

Hi I have run the command uname -a and i got the below output Linux vm07 2.6.9-77.Emp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux i want know the version of Linux can i get it from above output if yes then what is it? is it 2.6.9-77.Emp? (2 Replies)
Discussion started by: aish11
2 Replies

4. UNIX for Dummies Questions & Answers

Search linux which core version is 2.4.0

I want to use linux which core version is 2.4.0,so I want to know which version linux contains core 2.4.0? Where can I get this version linux? Thanks (1 Reply)
Discussion started by: konvalo
1 Replies

5. Linux

Why is there so many linux version?

Hi, Why is there many different Linux names and SO instead to be only one? What are the differences? Paul Weinstock (3 Replies)
Discussion started by: Paul Weinstock
3 Replies

6. Linux

Linux version v.s. 32bit/64bit

Where can I get a list that maps the each Linux version to corresponding 32/64 bits model? e.g. OS -> Model (ILP32, LP64, ...) RHLE3 -> ? RHLE4 -> ? RHLE5 -> ? ... It would be better if there is such a list that contains most of current UNIX OS versions. ... (1 Reply)
Discussion started by: princelinux
1 Replies

7. UNIX for Dummies Questions & Answers

How do I see which version of Linux I am using ?

I want to know the distribution and version of linux that I am running: uname -r gives me: 2.4.20-8bldsmp uname -v gives me: #1 SMP Wed Sep 20 19:32:24 PDT 2006 Whats the distribution ? and whats the version ? thanks !!! (1 Reply)
Discussion started by: the_learner
1 Replies

8. UNIX for Dummies Questions & Answers

What is the new version of linux or should i use fedora

hi guys, pls help me to find out what is the latest version of linux that i can install in my pc or should i install fedora... (1 Reply)
Discussion started by: anankumar3
1 Replies

9. Slackware

Determine Linux Version.

Apart from the obvious, uname command, is there anyway to determine which Linux distribution and version of the distribution has been installed? (7 Replies)
Discussion started by: mbb
7 Replies

10. UNIX for Dummies Questions & Answers

Redhat linux version

Guys How do i know the version of linux (Redhat) on one of our systems..Thanks in advance..The uname -r gives 2.4.18-0.13..Is it the kernel version (3 Replies)
Discussion started by: sssow
3 Replies

Featured Tech Videos