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 are the commands for querying linux version information

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces what are the commands for querying linux version information, which can be used for reference by interested friends. I hope you can learn a lot after reading this article.

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 linux;3, "cat / etc/issue", this command also applies to all versions.

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

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

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.

Thank you for reading this article carefully. I hope the article "what are the commands for querying linux version information" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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

Servers

Wechat

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

12
Report