How to check linux version information

王林
Release: 2019-12-25 17:01:17
Original
4596 people have browsed it

How to check linux version information

1. Check the current operating system kernel information

uname -a
Copy after login

How to check linux version information

2. Check the current operating system version information

Free video tutorial sharing:linux video tutorial

cat /proc/version
Copy after login

How to check linux version information

3. View the current operating system release version information

cat /etc/issue cat /etc/redhat-release
Copy after login

How to check linux version information

4. List all version information

lsb_release -a
Copy after login

How to check linux version information

Ifcommand not foundappears, it means that lsb_realease is not installed. You can execute the command yum install -y redhat-lsb installs lsb_realease. After the installation is completed, the version information is as follows:

How to check linux version information

Recommended related articles and tutorials:linux tutorial

The above is the detailed content of How to check 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!