How do I find hardware information in Linux?
Robert Guerrero
Updated on April 27, 2026
- lscpu. The lscpu command reports information about thecpu and processing units.
- lshw - List Hardware.
- hwinfo - Hardware Information.
- lspci - List PCI.
- lsscsi - List scsi devices.
- lsusb - List usb buses and device details.
- Inxi.
- lsblk - List block devices.
People also ask, how do I find system information in Linux?
To know only system name, you can useuname command without any switch will print systeminformation or uname -s command will print the kernel name ofyour system. To view your network hostname, use '-n' switchwith uname command as shown. To get information aboutkernel-version, use '-v' switch.
Similarly, how do I check my computer specs on Ubuntu? Hit Super (Start button in windows) , Type and and openSystem Monitor . For full details system information use HardInfo :Click to install. HardInfo can display information about both yoursystem's hardware and operating system. for command line solutions,you can use the command lshw.
Keeping this in consideration, how do I find my hardware serial number Linux?
Steps to find serial number of Lenovo laptop / desktop fromLinux CLI
- Open the terminal application.
- Type the following command as sudo user.
- dmidecode -s system-serial-number.
What is Dmidecode command in Linux?
dmidecode is a tool for dumping a computer's DMI(some say SMBIOS ) table contents in a human-readable format. Thistable contains a description of the system's hardware components,as well as other useful pieces of information such as serialnumbers and BIOS revision.
Related Question Answers
How do I find my computer specs using CMD?
How to view certain detailed computer specs through CommandPrompt- Right-click the Start button in the lower left corner of yourscreen, then select Command Prompt(Admin).
- At Command Prompt, type systeminfo and press Enter. You canthen see a list of information.
Who command in Linux?
The Linux who command. The Linux"who" command lets you display the users that are currentlylogged into your Unix computer system.What is the command to check system information?
System Info tool In Windows 7 or Windows Vista, type cmd in start menusearch bar. In the 'cmd' result which appears, right-click on itand select Run as Administrator. Next type systeminfo in thecommand prompt and hit Enter.How do I find my OS serial number?
Open Command Prompt by pressing the Windows keyon your keyboard and tapping the letter X. Then select CommandPrompt (Admin). Type the command: WMIC BIOS GETSERIALNUMBER, then press enter. If your serial numberis coded into your bios it will appear here on thescreen.What is to be filled OEM?
"To be filled by o.e.m." is a registration entrythat originates in the BIOS and usually indicates you are using amotherboard that you purchased directly from the manufacturer, andthen assembled into your own custom machine.Where can I find serial number on my HP laptop?
How can I check my HP laptop's serial number? Forlaptop computers, from the built-in keyboard, press Fn +Esc. For desktop or All-in-One computers, press Ctrl + Alt + S.Open command prompt (cmd.exe from Windows menu) & type wmicbios get serialnumber , and then press Enter.How do I find my MAC address Linux?
Linux- As the root user (or user with appropriate permissions)
- Type "ifconfig -a"
- From the displayed information, find eth0 (this is the defaultfirst Ethernet adapter)
- Locate the number next to the HWaddr. This is your MACaddress.