How do I find my Linux distro name?
Table of 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 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.
What is the current Linux version?
What is current Linux version? The current distribution was released in 2020 with the version number 20.04. The first version of Ubuntu came out in 2004 and was based on the Debian operating system.

What is os release in Linux?
os-release contains data that is defined by the operating system vendor and should generally not be changed by the administrator. As this file only encodes names and identifiers it should not be localized.
How do I know if my os is Debian?
lsb_release command By typing “lsb_release -a”, you can get information about your current Debian version as well as all other base versions in your distribution. By typing “lsb_release -d”, you can get an overview of all system information, including your Debian version.

How can I get distro information?
Open a terminal program (get to a command prompt) and type uname -a. This will give you your kernel version, but might not mention the distribution your running. To find out what distribution of linux your running (Ex. Ubuntu) try lsb_release -a or cat /etc/*release or cat /etc/issue* or cat /proc/version.
What is release os?
What is ETC os release?
About os-release /etc/os-release is a standard Linux file used to identify the OS, os release, and similar distros. It’s now a standard file in systemd distros, but it can be found in just about every Linux distro released over the last 3-4 years.
How do I know if I have Linux Redhat or Debian?
There is a standard out there known as the Linux Standard Base or LSB….
- Redhat and friends: Test for /etc/redhat-release , check contents.
- Debian: Test for /etc/debian_version , check contents.
- Mandriva and friends: Test for /etc/version , check contents.
- Slackware: Test for /etc/slackware-version , check contents.
Is CentOS based on Debian?
Similar to how Ubuntu is forked from Debian, CentOS is based on the open source code of RHEL (Red Hat Enterprise Linux), and provides an enterprise-grade operating system for free.