How to check the current version of Linux system

王林
Release: 2023-05-23 15:55:06
forward
2370 people have browsed it


Note: Various data of the current system operation recorded in the proc directory, and the version information recorded by version can be viewed through cat.

1. Use the command: cat /proc/version
How to check the current version of Linux system

#The various data of the current system operation recorded in the proc directory, the version information recorded by version can be directly passed through cat After checking, you can also see the gcc version information.

2. Use the command: uname -a

How to check the current version of Linux system

As shown above, your kernel version will be displayed, and you can check that the system is 32-bit (i386);

$uname-m
i38612
Copy after login

3. Use the command: lsb_release -a

How to check the current version of Linux system

#lsb_release--help
Usage:lsb_release[options]

Options:
-h,--helpshowthishelpmessageandexit-v,--versionshowLSBmodulesthissystemsupports-i,--idshowdistributorID-d,--descriptionshowdescriptionofthisdistribution-r,--releaseshowreleasenumberofthisdistribution-c,--codenameshowcodenameofthisdistribution-a,--allshowalloftheaboveinformation-s,--shortshowrequestedinformationinshortformat123456789101112
Copy after login

4. Use the command: cat /etc/issue

How to check the current version of Linux system

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

Related labels:
source:yisu.com
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!