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

How to view Linux kernel and system version information

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

How to check Linux kernel and system version information? I believe most people haven't learned this skill yet. In order for everyone to learn it, I summarized the following contents for everyone. Without saying much, let's look down together.

1. View Linux kernel version information

Method 1: Log in to Linux and type cat /proc/version on the terminal.

[root@localhost ~]# cat /proc/versionLinux version 3.10.0-957.el7.x86_64 (mockbuild@x86-040.build.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Thu Oct 4 20:48:51 UTC 201

Method 2: Log in to Linux and type uname -a on the terminal.

[root@localhost ~]# uname -aLinux localhost 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Method 3: Log in to Linux and type uname -r on the terminal

[root@localhost ~]# uname -r3.10.0-957.el7.x86_64

Second, check the Linux system version information

Method 1: Log in to Linux and type cat /etc/issue on the terminal.

[root@localhost ~]# cat /etc/issue\SKernel \r on an \m

Method 2: Log in to Linux and type cat /etc/redhat-release on the terminal.

[root@localhost ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo)

Method 3: Log in to Linux and type lsb_release -a on the terminal

[root@localhost ~]# lsb_release -aLSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarchDistributor ID: RedHatEnterpriseServerDescription: Red Hat Enterprise Linux Server release 7.6 (Maipo)Release: 7.6Codename: Maip

The above description is the way to view Linux kernel and system version information, and the specific use situation needs to be experimented with by everyone to understand. If you want to know more about it, please pay attention to the industry information channel!

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