Debian / Ubuntu Linux user can use the following command to check the kernel information.
To List current kernel installed in system use the command uname
Command
$ uname -r
where -r print kernel-release
Output
4.15.0-54-generic
or use
Command
uname -mrs
Output
Linux 4.15.0-54-generic x86_64
Where, -m --- print machine hardware name
-r --- print kernel-release
-s --- print kernel-name
To List all installed kernel in system use the command dpkg
Command
$ dpkg --list | grep linux-image
Output
ii linux-image-4.15.0-45-generic 4.15.0-45.48~16.04.1 amd64 Signed kernel image generic
ii linux-image-4.15.0-54-generic 4.15.0-54.58~16.04.1 amd64 Signed kernel image generic
ii linux-image-generic-hwe-16.04 4.15.0.54.75 amd64 Generic Linux kernel image
No comments:
Post a Comment