LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2011, 09:34 PM   #1
balakodoth
Member
 
Registered: Dec 2010
Posts: 40

Rep: Reputation: 0
Finding version in Linux


is there any command with which we can view the version of Linux ?
 
Old 01-20-2011, 09:35 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
uname -a
cat /etc/*release
or
cat /etc/*version
 
Old 01-20-2011, 11:10 PM   #3
wile_coyote
Member
 
Registered: Aug 2010
Location: Somewhere in NM USA
Distribution: Gentoo, Vector, Slackware , Arch
Posts: 47

Rep: Reputation: 3
AlucardZero hit the info you need. uname -r will give you the kernel release contained in uname -a.
 
Old 01-20-2011, 11:48 PM   #4
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Code:
anisha@linux-uitj:~> cat /etc/issue
Welcome to openSUSE 11.2 "Emerald" - Kernel \r (\l).
 
Old 01-21-2011, 12:25 AM   #5
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
Code:
lsb_release -a
Code:
vs@vsn:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 6.0 (squeeze)
Release:	6.0
Codename:	squeeze
 
Old 01-21-2011, 12:38 AM   #6
prakasha.lunux
LQ Newbie
 
Registered: Jan 2011
Posts: 25

Rep: Reputation: 0
uname -a gives all info about the machine ..... EX: kernel, OS, etc..
 
Old 01-21-2011, 12:49 AM   #7
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by prakasha.lunux View Post
uname -a gives all info about the machine ..... EX: kernel, OS, etc..
It doesn't show the distribution!

This combination will be more helpful, I think:
Code:
anisha@linux-uitj:~> uname -a && cat /etc/issue
Linux linux-uitj 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux
Welcome to openSUSE 11.2 "Emerald" - Kernel \r (\l).

anisha@linux-uitj:~>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Finding Linux OS Version jezeer Linux - Newbie 9 11-30-2010 12:16 AM
finding version of linux manoj.linux Linux - Enterprise 4 07-07-2009 03:02 AM
Finding Linux version r_213 Red Hat 5 01-08-2005 03:36 AM
finding linux kernel in mandrake version poojavarshneya Mandriva 7 09-18-2004 12:08 PM
need help finding the right ltmodem version spiroth10 Linux - Software 1 04-13-2004 01:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration