LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-27-2007, 06:57 AM   #1
koolks
LQ Newbie
 
Registered: Sep 2006
Posts: 6

Rep: Reputation: 0
How to find the Flavor and the version of Linux?


How can i know from command line what Flavor and Version of Linux OS is running on a System??

Presently i am using OpenSUSE10.1-64 bit.

Thanks,
Kartik S
 
Old 02-27-2007, 07:02 AM   #2
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 258

Rep: Reputation: 33
uname -a

used to get system identification information, such as operating system (OS) implementation, network nodename, release level of OS, version of OS, and hardware platform.

"man uname" for all possible command variations.

HTH
Jimbo
 
Old 02-27-2007, 07:04 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Usually it is written in a text file under /etc. You can simply do
Code:
cat /etc/fedora-release   # on Fedora Core
cat /etc/SuSE-release     # on OpenSuSE
just to mention two of them.
 
Old 02-27-2007, 07:04 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
You could also look for
Code:
/etc/suse-release
/etc/suse-version
to see if they exist.

If they do, then issue
Code:
cat /etc suse-<release|version>
to see the current running version.
 
  


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
How to find version of linux safun75 Linux - Newbie 20 01-09-2012 08:43 PM
How do I find the version of linux I am running? aaronruss Linux - Newbie 4 06-15-2009 10:27 AM
how to find the version of linux pochx Linux - General 7 09-22-2006 07:03 AM
Command to find the flavor of linux s_deepak_123 Linux - General 3 02-16-2006 11:35 AM
Find linux version using console? carlosos Linux - Newbie 11 08-17-2005 09:28 PM


All times are GMT -5. The time now is 08:52 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration