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

Hardware information query using the hwinfo command of linux

2025-01-19 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 hwinfo command hardware information query, the editor thinks it is very practical, so share it with you as a reference, I hope you can get something after reading this article.

The English full name of the hwinfo command is "Hardware Information". This command is extremely convenient and powerful. With this command, we don't have to look up hardware information on the computer fuselage or instructions one by one.

Hwinfo is a very widely used hardware information query command, similar to lshw, it can also report the hardware information of multiple components in detail or summary, but the difference is that it can sometimes give more information than lshw.

Many command lines that detect hardware information need to use root permissions. So before running the command, you'd better switch to the administrator privileges account.

Syntax format: hwinfo [parameters]

Common parameters:

Reference example

Displays all hardware information:

[root@linuxcool ~] # hwinfo

Display brief information:

[root@linuxcool] # hwinfo-- short

View cup information:

[root@linuxcool] # hwinfo-- short-- cpu

View the Nic information:

[root@linuxcool] # hwinfo-- short-- netcard

View hard drive information:

[root@linuxcool] # hwinfo-- short-- storage

View usb device information:

[root@linuxcool] # hwinfo-- short-- usb

Record the output information to a file:

[root@linuxcool ~] # hwinfo-- all-- short-- log hardware_info.log hardware information about using linux hwinfo commands is shared here. I hope the above content can be helpful to you and 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