LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to check the version (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-check-the-version-699798/)

fahadaziz 01-25-2009 12:26 PM

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.

jailbait 01-25-2009 12:29 PM

Use the uname command:

uname -r

-----------------------
Steve Stites

repo 01-25-2009 12:38 PM

cat /proc/version
lsb_release -a

fahadaziz 01-25-2009 12:39 PM

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

repo 01-25-2009 12:42 PM

more /etc/redhat-release

colucix 01-25-2009 12:46 PM

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.

fahadaziz 01-25-2009 01:07 PM

lsb_release -a ...works
 
lsb_release -a ...works

palisetty_suman 02-21-2009 05:21 PM

Thanks
 
Thanks i too got to know.


All times are GMT -5. The time now is 01:03 PM.