Monday, January 12, 2009

To find out linux release information:


Use the below command to find the version of linux

In Redhat Linux:

$ cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 3)


In Suse-Linux:

$ cat /etc/SuSE-release

SUSE LINUX Enterprise Server 9 (i586) VERSION = 9

To find out kernel version:


$ uname -s -r

Linux 2.6.9-34.0.2.ELsmp$ uname -aLinux mybox.xyz.abc.com 2.6.9- 55.0.2.0.1.ELsmp #1 SMP Mon Jun 25 14:40:37 PDT 2007 x86_64 x86_64 x86_64 GNU/Linux

To find out what version of Glibc libraries:


$ rpm -q glibc

glibc-2.2.4-26

To find the more information on Glibc libraries . Use the below command.


$ rpm -qi glibc

Name : glibc Relocations: (not relocatable)
Version : 2.3.4 Vendor: XYZ USA
Release : 2.36
Build Date: Tue 13 Mar 2007 08:45:33 GMT
Install Date: Tue 15 May 2007 09:10:50 BST
Build Host: ca-build7.xyz.abc.com
Group : System Environment/Libraries Source
RPM: glibc-2.3.4-2.36.src.rpm
Size : 11958551
License: LGPL
Signature : DSA/SHA1, Fri 30 Mar 2007 00:00:41 BST, Key ID 2e2bcdbcb38a8516
Summary : The GNU libc libraries.
Description :The glibc package contains standard libraries which are used by..

No comments: