LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-25-2009, 01: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, 01:29 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Use the uname command:

uname -r

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

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
cat /proc/version
lsb_release -a
 
Old 01-25-2009, 01: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, 01:42 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
more /etc/redhat-release
 
Old 01-25-2009, 01:46 PM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 02: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, 06: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



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


All times are GMT -5. The time now is 03:48 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