Q. 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??
A. username@machine> 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> rpm -q glibc
glibc-2.3.2-95.3
Two alternative methods to obtain glibc version information:
username@machine> /lib/libc.so.6 | head -1
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
username@machine> 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> cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
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> rpm -q glibc
glibc-2.3.2-95.3
Two alternative methods to obtain glibc version information:
username@machine> /lib/libc.so.6 | head -1
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
username@machine> 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> cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
Which dpkg command will allow you to install a newer version of dpkg in linux?
Q.
A. There is no newer version of dpkg
If there was it would come with a system update. Also, you should specify what distro you are using.
If there was it would come with a system update. Also, you should specify what distro you are using.
Which command used to get the Kernel Version being used in linux?
Q.
A. [sky walker@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.26.3-29.fc9.i686 #1 SMP Wed Sep 3 03:42:27 EDT 2008 i686 i686 i386 GNU/Linux
Yeah its uname -a
Kernel version is the "2.6.xx" part.
Linux localhost.localdomain 2.6.26.3-29.fc9.i686 #1 SMP Wed Sep 3 03:42:27 EDT 2008 i686 i686 i386 GNU/Linux
Yeah its uname -a
Kernel version is the "2.6.xx" part.
Powered by Yahoo! Answers
No comments:
Post a Comment