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

How to check the system version in linux

(*-*)浩
Release: 2020-09-05 16:21:40
Original
26045 people have browsed it

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)
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template