

Use the below-given command to display the contents of the file on the command line interface: cat /etc/issueĬheck Linux OS version from the /etc/os-release file This information is printed on the screen before the login prompt. The /etc/issue is a simple text file that has the identification information of the system.

If you only want the version number instead of the whole LSB information then use the following command: lsb_release -dĬheck Linux version from the /etc/issue file The apt is the package manager in Debian-based systems.
FIND LINUX KERNEL VERSION INSTALL
If it is not pre-installed in your OS, you can use your package manager to install this utility: sudo apt install lsb-release Use the below-given command to determine the OS version of your system: lsb_release -a The lsb_release is a pre-installed utility in major Linux distributions which can be used to display the Linux Standard Base information on the command-line interface.
FIND LINUX KERNEL VERSION HOW TO
How to Check Linux OS version using lsb_release There are a number of different methods which can be used to determine the version of a Linux-based OS using the command-line interface. In this article, we will mostly focus on the command line methods which can be used to check the OS version of a Linux distribution. In Linux, CLI is preferred over GUI as it provides more control over the OS. The OS version of a Linux distribution can be determined by using the command-line interface as well as a graphical user interface. It can also help in installing security patches and identifying the features available in your system. Knowing the version of your kernel and OS can help you determine which package manager to use to install new software and whether that software is supported by your system or not. It is important to always know the kernel and OS version of your system, especially if you’re an administrator. Linux-based operating systems are actually called Linux distributions which usually include the Linux kernel along with software package managers, software, and graphical user interface. Most people think of Linux as an operating system but it is actually a kernel A kernel is a bridge between the software and hardware of a computer.
