![]() The lsb_release command is a helpful utility to find out information about our Linux installation. It also contains the kernel compiler’s user name.Ĭheck Linux version with lsb_release command Linux deb-srv 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 () x86_64 GNU/Linux Check Linux version from /proc/versionĪs we can see, the /proc/version file specifies the version of the Linux kernel, the version of gcc used to compile the kernel, and the time of kernel compilation. The command uname -a shows the version of the Linux kernel we are using, as well as additional details. It is used to print our Linux system information such as kernel version and release name, network hostname, machine hardware name, processor architecture, hardware platform and the operating system. We can also use uname command to check Linux version. Use the following command to know the OS version on our old system: If we are running a very old Linux distribution then we might not be able to use any of the above commands. This command will list Linux distribution name and release version information. The best way to check Linux version is using cat /etc/os-release command. It can be used on a variety of devices, including desktops, laptops, servers and smartphones. Linux is also a more secure operating system than Windows. Some of the benefits of using Linux include its stability, security, flexibility and cost. ![]() Other distros include Arch Linux, Gentoo Linux and openSUSE. The most popular and widely used distributions are Ubuntu, Debian, Red Hat Enterprise Linux (RHEL), CentOS, Fedora. Linux is also free and can be used on a variety of devices. It is different from other operating systems because it is based on the Linux kernel. Linux is an open source operating system that was created in 1991 by Linus Torvalds. What is the difference between Linux and other operating systems? 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. How to check Linux version is a commonly asked question during a Linux job interview.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |