Please see the individual products' articles for further information.Įven though there are a large number and variety of available Linux distributions, all of these kernels are grouped under a single entry in these tables, due to the differences among them being of the patch level. The following tables compare general and technical information for a number of widely used and currently available operating system kernels. A comparison of system kernels can provide insight into the design and architectural choices made by the developers of particular operating systems. We also gave examples of how to list Linux operating system information.A kernel is a component of a computer operating system. In this tutorial you have seen a number of ways in which you can check the Linux kernel version. Below is an example of this from an Ubuntu server: $ cat /etc/os-releaseĪnother option here is to use the lsb_release command: $ lsb_release -a Distributor ID: Ubuntu First of all, there is a file – /etc/os-release – which contains details on the installed operating system. Whilst we are here, a similar question is around how to list Linux operating system information, so I thought it was worthwhile listing a couple of ways to do this here. How to List Linux Operating System Information Additionally, the first command also tells us about the Linux version – Ubuntu – and some information about the architecture. You can see the Kernel version 5.11.0-1022 in the output of both commands. Lets have a look at a couple of examples: $ cat /proc/version For example, lsmod is the same as cat /proc/modules while lspci is the same as cat /proc/pci. Many Linux system utilities are calls to files in this directory. Proc is a virtual filesystem on Linux which contains runtime system information. There are a few ‘files’ in /proc which contain information on our Linux kernel version. 23~20.04.1-Ubuntu SMP Mon Nov 15 14:03: – Timestamp for the kernel build.This output can be a bit confusing at first glance, but it can be broken down as follows: To output all the information, including the kernel version, you would use uname -a. You can output other information using uname, depending on which option you use when running the command. To retrieve the Linux kernel version with uname we can use the -r option: $ uname -r The uname (short for unix name) command can be used to retrieve a bunch of Linux system information. List Linux Kernel and System Information with uname That may be all you need, but let’s have a look at a few other commands. If we just wanted to check the kernel version we could filter the output using grep: $ hostnamectl | grep Kernel The output includes the operating system version, Kernel version, system architecture and more. This command returns a bunch of information about your Linux system and outputs it as a formatted list: $ hostnamectl The first command I want to mention is hostnamectl. Get Linux Version Information using hostnamectl What version of Linux am I running? Have you ever been staring at a CLI prompt wondering how to check what version of Linux or which Kernel version you are running on your Linux system? If so, read on, as we will go through a bunch of commands to show you how to get this information.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |