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 command for linux to view system version information

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Lsb_release-a to list all version information

[root@S-CentOS] # lsb_release-aLSB 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-noarchDistributor ID: CentOSDescription: CentOS release 6.5 (Final) Release: 6.5Codename: 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-releaseCentOS release 6.5 (Final)

3. Cat / etc/issue, this command also applies to all Linux distributions

[root@S-CentOS home] # cat / etc/issueCentOS release 6.5 (Final) Kernel\ r on an\ m

These are the details of what commands can be used in the linux system version. For more information, please follow other related articles!

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