I am using a Linux server in command mode, i dont know which linux i am using ie whether it is Fedora Core 1,2,3 or Redh Hat linux Enterpirse or Linux 9.0 Version??
What is the command to know the linux version i am using?
username@machine%26gt; uname -a
Linux test_machine1 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
In this example, the Linux kernel version is 2.4.21-4.
To obtain the Linux glibc version, type the following at the shell command prompt:
username@machine%26gt; rpm -q glibc
glibc-2.3.2-95.3
Two alternative methods to obtain glibc version information:
username@machine%26gt; /lib/libc.so.6 | head -1
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
username@machine%26gt; getconf GNU_LIBC_VERSION
glibc 2.3.2
If you are using a RedHat Linux distribution, you can find the RedHat release by typing:
usename@machine%26gt; cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment