![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to automate check outs from version control? | siegfried | UNIX for Dummies Questions & Answers | 5 | 04-11-2008 10:35 PM |
| How to check version of Solaris? | am_yadav | SUN Solaris | 5 | 02-06-2008 03:43 AM |
| Check version of Oracle | am_yadav | SUN Solaris | 1 | 02-04-2008 03:46 AM |
| Redhat linux command to check Version | bache_gowda | UNIX for Dummies Questions & Answers | 1 | 03-22-2007 11:09 PM |
| to check version to library | dilipluhar | High Level Programming | 1 | 09-16-2001 08:32 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
check version
how can I check the Linux version?
Last edited by zp523444; 10-20-2006 at 03:53 AM. |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Code:
$ cat /proc/version Linux version 2.4.21-0.13mdksecure (flepied@bi.mandrakesoft.com) (gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) #1 SMP Fri Mar 14 14:10:36 EST 2003 There might also be a /etc/*-release file where the * corresponds to the linux distribution (/etc/SuSE-release, /etc/redhat-release, or /etc/mandrake-release). Code:
$ cat /etc/mandrake-release Mandrake Linux release 9.1 (Bamboo) for i586 |
|
#3
|
|||
|
|||
|
there is no such file or dir when cat /proc/version
if I chg to /proc and ls xxxx# ls 0 138 148 1537 175 180 192 5 78 9662 1 139 149 161 176 181 2 6 80 9668 122 140 1534 164 177 183 3 67 82 9672 130 141 1535 171 178 189 4 74 9660 curproc 137 143 1536 174 179 190 4452 76 9661 xxxx# ls -l There is the message when I login: FreeBSD/i386 (xyz.com) (ttyp0) login: err Password: Last login: Fri Oct 20 18:42:59 from invalid hostname Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.5-RELEASE (GENERIC) #0: Mon Jan 28 14:31:56 GMT 2002 |
|
#4
|
|||
|
|||
|
Well you did ask:
Quote:
Code:
$ uname -a Darwin Carls-Computer.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~/RELEASE_PPC Power Macintosh powerpc Code:
$ uname -a OpenBSD schelin.org 3.8 GENERIC#138 i386 |
|
#5
|
|||
|
|||
|
You are using the FreeBSD. also you can check the machine arch through the following command.
$ uname -m Prashant, Last edited by prashant_ohol; 10-20-2006 at 05:02 PM. |
|
#6
|
|||
|
|||
|
If you want check in your redhat, CentOs, Fedora machine. use the following command.
root@prashant [~]# cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 4) root@prashant [~]# |
|
#7
|
|||
|
|||
|
If type uname -a, the o/p is:
FreeBSD abcd.com 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31 :56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i3 86 is there any different with Linux Redhat? or Where can I get more information on this OS? |
|||
| Google The UNIX and Linux Forums |