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

There are several ways to view the current version of linux

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

Share

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

The first way

Directly look at the version under proc.

Cat / proc/version

Linux version 2.6.32-696.6.3.el6.x86_64 (mockbuild@c1bl.rdu2.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC)) # 1 SMP Wed Jul 12 14:17:22 UTC 2017

You can see that the kernel version of the system is 2.6 GCC is 4.4.7.

A lot of information about linux can be found under proc, such as cmdline, cupinfo, meminfo, partitions and so on.

The second way

Linux's command uname-a

Uname-a

Linux DM 2.6.32-696.6.3.el6.x86_64 # 1 SMP Wed Jul 12 14:17:22 UTC 2017 x86 "64 GNU/Linux

Uname is a command provided by linux to view system information.-a means-all. Uname also supports some other parameters.

The third way

Cat / etc/issue

CentOS release 6.9 (Final)

Kernel\ r on an\ m

The above is how to view the details of the linux version information, please pay attention to 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