How to Find Linux Version?
Contents Check Os Version in Linux Open the Terminal Application (Bash Shell) for Remote Server Login Using the Ssh: Ssh [Email Protected] Type Any One of the...
Check os version in Linux
- Open the terminal application (bash shell)
- For remote server login using the ssh: ssh [email protected]
- Type any one of the following command to find os name and version in Linux: cat /etc/os-release. lsb_release -a. hostnamectl.
- Type the following command to find Linux kernel version: uname -r.
Red Hat Enterprise Linux 6
| Release | General Availability Date | Kernel Version |
|---|---|---|
| RHEL 6.8 | 2016-05-10 | 2.6.32-642 |
| RHEL 6.7 | 2015-07-22 | 2.6.32-573 |
| RHEL 6.6 | 2014-10-14 | 2.6.32-504 |
| RHEL 6.5 | 2013-11-21 | 2.6.32-431 |
6 more rowsCentOS Version Check. The easiest way to check your CentOS version is via the command line. CentOS version history follows that of Red Hat but it could be delayed, which is just one of a few things you should know before running a CentOS server.1. Checking Your Ubuntu Version From the Terminal
- Step 1: Open the terminal.
- Step 2: Enter the lsb_release -a command.
- Step 1: Open “System Settings” from the desktop main menu in Unity.
- Step 2: Click on the “Details” icon under “System.”
- Step 3: See version information.
At first, it may be confusing to determine what specific operating system is running. This is because both have the /etc/redhat-release file. If that file exists, use the cat command to display the contents. Next step is to determine if there is a /etc/oracle-release file as well.Check os version in Linux
- Open the terminal application (bash shell)
- For remote server login using the ssh: ssh [email protected]
- Type any one of the following command to find os name and version in Linux: cat /etc/os-release. lsb_release -a. hostnamectl.
- Type the following command to find Linux kernel version: uname -r.
How do I know my Linux distribution?
Steps
- If you are using a GUI open up a terminal emulator & move on. Otherwise you’re good to go.
- Type in the command “cat /etc/*-release”(Without the quotes!)and hit enter. This will tell many useful things about your distribution. Here is a sample output on Ubuntu 11.04. DISTRIB_ID=Ubuntu. DISTRIB_RELEASE=11.04.
Must Read
How do I find the RHEL version?
You can see the kernel version by typing uname -r . It’ll be 2.6.something. That is the release version of RHEL, or at least the release of RHEL from which the package supplying /etc/redhat-release was installed. A file like that is probably the closest you can come; you could also look at /etc/lsb-release.