You need to use the uname command to find name and information about current kernel. It can provide the following information
- The kernel name (-s)
- The Network node hostname (-n)
- The kernel release (-r)
- The kernel version (-v)
- The machine hardware name (-m)
- The processor type (-p)
- The hardware platform (-i)
- The operating system (-o)
RHEL 6 Kernel Version Command
Open a command-line terminal (select Applications > Accessories > Terminal), OR login to remote server using the ssh command and then type:$ uname -r
Sample outputs:
2.6.32-220.2.1.el6.x86_6The following provides a little more information:
$ uname -mrs
Sample outputs:
Linux 2.6.32-220.2.1.el6.x86_64 x86_64You can see the complete information with the following command:
$ uname -a
Sample outputs:
Linux example.cyberciti.biz 2.6.32-220.2.1.el6.x86_64 #1 SMP Tue Dec 13 16:21:34 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
Find Red Hat Linux Distribution Version
Type the following cat command:$ cat /etc/redhat-release
Sample outputs:
Red Hat Enterprise Linux Server release 6.2 (Santiago)You can also view the manual page on uname using the following command:
$ man uname
No comments:
Post a Comment