Home > Operation and Maintenance > Linux Operation and Maintenance > What is the command to query linux version information?

What is the command to query linux version information?

WBOY
Release: 2021-12-27 17:36:43
Original
32668 people have browsed it

Command: 1. "lsb_release -a", this command can view all linux system versions; 2. "cat /etc/redhat-release", this command is only suitable for Redhat series linux; 3. "cat /etc/issue", this command also applies to all versions.

What is the command to query linux version information?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What is the command to query linux version information

1. lsb_release -a will list all version information:

What is the command to query linux version information?

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

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.

What is the command to query linux version information?

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What is the command to query linux version information?. 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