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 are the commands for linux to check system and hardware information

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

Share

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

This article shares with you what the linux commands for checking system and hardware information are. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1 View system information $uname-a

Uname command

It will provide you with all the information about the system. It will provide you with the kernel name, hostname, kernel version, kernel release number, and hardware name of the system.

2 View hardware information $lshw

Lshw command

Using lshw will display all hardware information on the screen.

3 View block device (hard disk, flash drive) information $lsblk

Lsblk command

The lsblk command prints all information about the block device on the screen. Use lsblk-a to display all block devices.

4 View CPU information $lscpu

Lscpu command

Lscpu displays all CPU information on the screen.

5 View PCI information $lspci

Lspci command

All network adapter cards, USB cards, and graphics cards are called PCI. To view their information, use lspci.

Lspci-v will provide more information about the PCI card.

Lspci-t displays them in a tree format.

6 View USB information $lsusb

Lsusb command

To see information about all the USB controllers and devices connected to the machine, we use lsusb.

7 View SCSI information $lsscsi

Lsscsi

To view SCSI information, enter lsscsi. Lsscsi-s displays the size of the partition.

8 View file system information $fdisk-l

Fdisk command

Using fdisk-l displays information about the file system. Although the main function of fdisk is to modify the file system, you can also create new partitions and delete old ones.

Thank you for reading! This is the end of this article on "what are the commands for linux to check system and hardware information?". I hope the above content can be of some help to you, so that 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