Q. How do I list all installed kernel on Linux operating system? How do I find out current kernel version?
A. You can use standard package listing command to list installed kernels.
RedHat / CentOS / RHEL / Fedora Linux user
You need to use standard rpm command to list installed software. Type the following command at shell prompt:
$ rpm -qa kernel
Output:
kernel-2.6.18-4.1.15.el5 kernel-2.6.18-8.1.14.el5 kernel-2.6.18-8.1.10.el5
To list / display current kernel
Type the following command:
$ uname -r
$ uname -mrs
Output:
Linux 2.6.18-8.1.14.el5 x86_64
Debian / Ubuntu Linux user
Use dpkg command to list all installed kernel, enter:
$ dpkg --list | grep linux-image
Output:
ii linux-image-2.6.20-15-generic 2.6.20-15.27 Linux kernel image for version 2.6.20 on x86/ ii linux-image-2.6.20-16-generic 2.6.20-16.32 Linux kernel image for version 2.6.20 on x86/ ii linux-image-generic 2.6.20.16.28.1 Generic Linux kernel image
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 3 comments… read them below or add one }
thanks ! important information.
hi,
it’s working thanks for information
Regards
krishan kumar singh
hey that works for Ubuntu…!