How to query your Linux system kernel

How to query your Linux system kernel

How much can your Linux system tell you about the kernel it’s running and what commands are available to help you ask? Let’s run through some of them.


The simplest and most straight-forward command for providing information on your kernel is the uname -r command. It provides a succinct answer to your question, but in a format that also includes a number of fields each which provides a particular piece of information.

$ uname -r
^ ^ ^ ^ ^
| | | | |
| | | | |
| | | | +-- the distribution-specific string
| | | +------- the latest bug fix
| | +---------- the minor revision
| +------------ the major revision
+--------------- the kernel version

Add an “s” and your output will include the kernel’s name:

To read this article in full, please click here

div#stuning-header .dfd-stuning-header-bg-container {background-image: url(;background-size: initial;background-position: top center;background-attachment: initial;background-repeat: no-repeat;}#stuning-header {min-height: 650px;}