Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method to view the commands of the Linux system version

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail for you what is the method of viewing the Linux system version of the command, the content of the article is of high quality, so the editor will share it for you to do a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

When installing software under Linux, different system versions will have different software packages, and it is a basic common command to check the system version.

1. Lsb_release-a, and all version information can be listed:

[root@S-CentOS] # lsb_release-a

LSB Version:: base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Distributor ID: CentOS

Description: CentOS release 6.5 (Final)

Release: 6.5

Codename: Final

This command applies to all Linux distributions, including RedHat, SUSE, Debian... Wait for the release.

2. Cat / etc/redhat-release, this method is only suitable for Linux of Redhat system:

[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.

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

CentOS release 6.5 (Final)

Kernel\ r on an\ m

What is the method of viewing the Linux system version of the command is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report