Home  >  Article  >  Operation and Maintenance  >  How to check the system version in linux

How to check the system version in linux

(*-*)浩
(*-*)浩Original
2019-11-07 08:59:5325888browse

How to check the system version in linux

Commands to view the Linux system version (3 methods):

1, lsb_release -a, you can list all Version information: (Recommended learning: linux operation and maintenance)

This command applies to all Linux distributions, including RedHat, SUSE, Debian... and other distributions.

How to check the system version in linux

2. cat /etc/redhat-release, this method is only suitable for Redhat-based Linux:

[root@S-CentOS home]# cat /etc/redhat-release

CentOS release 6.5 (Final)

3. cat /etc/issue, this command also applies to all Linux distributions.

How to check the system version in linux

The above is the detailed content of How to check the system version in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn