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

Use the uname command of linux to display system information

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

Share

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

This article will explain in detail about the use of linux uname command display system information, the editor thinks it is very practical, so share it for you to do a reference, I hope you can get something after reading this article.

The English full name of uname command is "Unix name".

Used to display system-related information, such as hostname, kernel version number, hardware architecture, etc.

If no option is specified, the effect is equivalent to executing the "uname-s" command, which displays the name of the system kernel.

Syntax format: uname [parameters]

Common parameters:

-a display all relevant information about the system-m display computer hardware architecture-n display host name-r display kernel release number-s display kernel name-v display kernel version-p display host processor type-o display operating system name-I display hardware platform

Reference example

Display information such as system hostname, kernel version number, CPU type, etc.:

[root@linuxcool] # uname-a

Linux linuxcool 3.10.0-123.el7.x86_64 # 1 SMP Mon May 5 11:16:57 EDT 2014 x86 "64 GNU/Linux

Only the system hostname is displayed:

[root@linuxcool ~] # uname-n

Linuxcool

Displays the kernel version of the current system:

[root@linuxcool ~] # uname-r

3.10.0-123.el7.x86_64

Displays the hardware architecture of the current system:

[root@linuxcool] # uname-I

X86x64 on the use of linux uname command display system information 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

Servers

Wechat

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

12
Report