What is my Linux server Operating System Edition?

Step 1: Access server remotely through SSH / Shell Terminal

Refer our guide to access CentOS Linux operating system remotely.

Step 2: Enter the Command

This command queries the Linux Standard Base (LSB) for version information.

cat /etc/centos-release


lsb_release -a


Step 3: Interpret the Version Information

The version information displayed typically consists of the release number and codename. For example, if your Linux version is displayed as "CentOS Linux release 7.9.2009," it means you are using CentOS version 7.9.2009.

Example

# lsb_release -a
LSB Version:  :core-4.1-amd64:core-4.1-noarch
Distributor ID:  CentOS
Description:  CentOS Linux release 7.9.2009 (Core)
Release:  7.9.2009
Codename:  Core
# cat /etc/centos-release
CentOS release 6.10 (Final)

Common End-Of-Life Operating System version

VersionEnd of Life Date
CentOS 5
March 31, 2017
CentOS 6November 30, 2021
CentOS 7
une 30, 2024




Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.