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
 
LinkBack Search this Thread
Old 01-25-2009, 12:26 PM   #1
fahadaziz
LQ Newbie
 
Registered: Aug 2008
Posts: 27

Rep: Reputation: 15
Question how to check the version


Hi,

I want to know that how we can see the version information of a Linux machine using terminal or command line if we telnet any Linux machine.

Regards,

Faddi.
 
Old 01-25-2009, 12:29 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268

Rep: Reputation: 83
Use the uname command:

uname -r

-----------------------
Steve Stites
 
Old 01-25-2009, 12:38 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,457

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
cat /proc/version
lsb_release -a
 
Old 01-25-2009, 12:39 PM   #4
fahadaziz
LQ Newbie
 
Registered: Aug 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Question thanx

thanx for your reply but i want to know how to check the distribution version information i.e fedora core 9 or 10 through command line
 
Old 01-25-2009, 12:42 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Slackware current
Posts: 8,457

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
more /etc/redhat-release
 
Old 01-25-2009, 12:46 PM   #6
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: OpenSUSE 12.1 CentOS 6.2
Posts: 8,962

Rep: Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345Reputation: 1345
If available use
Code:
lsb_release -ir
or lsb_release -a for full output, as previously mentioned by repo above. Otherwise check under the /etc directory: each distribution has a file with "release" in its name. For example on my OpenSuSE box I have /etc/SuSE-release whose content is
Code:
$ cat /etc/SuSE-release
openSUSE 11.1 (i586)
VERSION = 11.1
On machines running Unix, check for files containing "version" in their name.
 
Old 01-25-2009, 01:07 PM   #7
fahadaziz
LQ Newbie
 
Registered: Aug 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Talking lsb_release -a ...works

lsb_release -a ...works
 
Old 02-21-2009, 05:21 PM   #8
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up Thanks

Thanks i too got to know.
 
  


Reply

Tags
basic, commands, linux


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check nfs version livetoday Linux - Newbie 7 05-14-2012 09:59 PM
how to check glibc version? zecodela Linux - Software 3 05-13-2011 11:52 AM
How to check OS version souman Linux - Software 3 12-16-2005 12:42 PM
how 2 check RH version? est Red Hat 2 02-28-2005 01:17 AM
How to check version of glib? LooseCanon Linux - Software 5 08-31-2003 05:05 PM


All times are GMT -5. The time now is 11:35 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration