How to Check the OS Version in Linux?

At the point when individuals allude to Linux, they are typically alluding to a Linux appropriation. Rigorously speaking, Linux is a piece, the center part of the working framework that, basically, acts very much like a scaffold between the product applications and the equipment. A Linux dispersion is a working framework produced using a Linux piece, GNU devices and libraries, and programming assortments. Generally, Linux circulations incorporate work area conditions, bundle the board framework, and a bunch of preinstalled applications.

The absolute most well known Linux appropriations are Debian, Red Hat, Ubuntu, Arch Linux, Fedora, CentOS, Kali Linux, OpenSUSE, Linux Mint, and so forth

At the point when you sign in to a Linux framework interestingly, prior to accomplishing any work, it is dependably smart to check what form of Linux is running on the machine. For instance, deciding the Linux appropriation can assist you with sorting out what bundle chief you should use to put in new bundles.

At the point when we need to introduce the product in our framework, first and foremost we should realize that whether our present Operating System is supporting this form of the product or not. In Windows, we can undoubtedly check it as Windows is completely founded on a GUI-based Operating System.

Yet, we like to utilize the Command line rather than the GUI in Operating System like Linus/Unix. In this article, we will figure out how to check the subtleties of the Operating System we are utilizing in Linux.

We will utilize three straightforward strategies to really look at the Linux OS adaptation:

  • Utilizing os-discharge record accessible in Linux’s and so on registry
  • Utilizing lsb_release order
  • Utilizing form record accessible in Linux’s proc catalog

Model 1: Using os-discharge document accessible in Linux’s and so on index.

We can check the Linux Operating System (OS) information by running the underneath order

~$ cat /etc/os-release

Output:

Linux

Model 2: Using lsb_release order.

LSB Stands for Linux Standard Base, we can check the Linux Operating System (OS) utilizing lsb_release order

$ lsb_release -a

Output:

Linux

Model 3: Using form document accessible in Linux’s proc index.

We can utilize the underneath order to check the Linux Operating System (OS)

~$ cat /proc/version

Output:

Linux

Also Read: How to Install OpenCV for Python on Windows?

Leave a Reply

Your email address will not be published. Required fields are marked *