11/12/2023 0 Comments How to check linux kernel version![]() Command also displays Linux kernel version. The hostnamectl command can be used to get or set the system hostname. Output: Linux version 5.4.0-72-generic (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #80-Ubuntu SMP Mon Apr 12 17:35:Ĭommand to get only Linux kernel version: cat /proc/version | grep -Po "Linux version \K\S+" 3. It can be used to determine Linux kernel version. The /proc/version file contains Linux kernel information. The -r option prints the Linux kernel version. The uname command displays information about the system. This tutorial explains how to check Linux kernel version. To determine which Linux kernel version is running on the system can be useful when troubleshooting issues. In that condition, if we execute this command, we might get an error message like "No LSB modules are available".Linux kernel is the main component of the Linux operating system. This command may be missing from our system in a few Linux distros due to minimal installation of the operating system or any other causes. The lsb_release command permits us to find LSB details about the distribution of Linux that contains release number, distributor ID, and codename. This command provides distribution and Linux Standard Base based (in short LSB) details on the CLI. Ubuntu_Codename: It is an Ubuntu-specific section and it includes the internal code name of the version. Version_Codename: It is the external code name of the version. Privacy_Policy_URL: It is the primary privacy policy page of the distribution. Support_URL: It is the primary support page of the distribution.īug_Report_URL: It is the primary bug reporting page of the distribution. Home_URL: It is the home page of the distribution project. Version_ID: It is the version number of the distribution. Pretty_Name: It is the version and name of the distribution in the simple and straightforward string. ID_Like: This field would include the parent distribution if a distribution is the derivative of another. ID: It is the operating system's lowercase string version. Version: It is the version of the operating system. However, if it is not set, it might only show "Linux". The above values are also explained as follows:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |