LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to find the Flavor and the version of Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-the-flavor-and-the-version-of-linux-532865/)

koolks 02-27-2007 06:57 AM

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

jimbo1954 02-27-2007 07:02 AM

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

colucix 02-27-2007 07:04 AM

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.

XavierP 02-27-2007 07:04 AM

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.


All times are GMT -5. The time now is 12:27 PM.