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.
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
Common End-Of-Life Operating System version
Version | End of Life Date |
CentOS 5 | March 31, 2017 |
CentOS 6 | November 30, 2021 |
CentOS 7 | une 30, 2024 |