Checking the operating system version of your Linux installation is useful when you want to see what distribution you are running, the version number, and the kernel version information. This will clue you into what exactly your system is running under the hood. Knowing what system you are work...
“LSB” stands for Linux Standard Base and the lsb_release command was specially developed to allow Linux users to check their Linux OS version; that’s all it does. To check your Linux operating system’s version, type the following command in the terminal and hit enter. lsb_release -a ...
There are several ways to check the version of a Linux operating system from the command line. Here are some of the most common methods: Method 1: Using the uname Command Theunamecommand is a standard utility that provides information about the current system, including the kernel version and ...
The output shows the version number of the operating systemkernel. In the example displayed below, the system uses kernel5.14.0-427. Conclusion After reading this tutorial, you will be able to check the CentOS or Rocky Linux version installed on your computer. The article also showed how to ...
When you log in to a Linux system for the first time, before doing any work, it is always a good idea to check what version of Linux is running on the machine. For example, determining the Linux distribution can help you figure out what package manager you should use to install new pa...
Check OS Version in Linux Here are the three commands you can use to check the OS version in Linux. 1. Using The lsb_release Command The lsb_release command (Linux Standard Base) is one of the easiest ways to get your system info and the Linux version. Here’s how to use it. ...
Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-693.21.1.el7.x86_64 Architecture: x86-64 Checking the LSB version Another way to check the centOS version is using the “lsb_release” command. The lsb_release command is provided by the...
To view your Linux OS version, run the following command in Terminal: $hostnamectl Check Kernel Information If you want to find out the information related to the kernel of your system, the following are some command-line ways to do so: ...
A system running Linux (this tutorial usesUbuntu 22.04). Access to the terminal. sudoorrootprivileges. How to Check Linux Kernel Version via CLI There are several ways to check the Linux kernel version via the command line. The following text elaborates on these methods. ...
You can use the grep command to filter out the version line alone. grep 'VERSION' /etc/os-release Using hostnamectl hostnamectl is a tool to Control Linux System Hostname. This command outputs the hostname along with other system related details. Now we can use grep to filter the output...