How to Check Hardware Information on Linux

Getting detailed information about your Linux system’s hardware is essential for troubleshooting, optimizing performance, and upgrading components. In this guide, we will show you how to check hardware information on Linux using various command-line utilities and graphical tools.

Using lshw

lshw (short for “list hardware”) is a command-line utility for Linux systems that provides detailed information about the computer’s hardware components, such as CPU, memory, storage devices, network interfaces, and more. It gathers information from various sources, including the kernel, sysfs, and procfs, to generate a comprehensive report on the system’s hardware.

lshw is designed to be user-friendly and can display the information in various formats, such as plain text, XML, or HTML. It is a helpful tool for troubleshooting, inventory management, or documentation purposes, as it provides a quick overview of the system’s hardware configuration.

Step 1: Open Terminal

Open the terminal by pressing Ctrl + Alt + T on your keyboard or by searching for it in the applications menu.

Step 2: Install lshw

On Debian/Ubuntu-based distros, run:

sudo apt install lshw

On Fedora/RPM-based distros, run:

sudo dnf install lshw

On Arch-based distros, run:

sudo pacman -S lshw

Step 3: Run lshw

To display the hardware information, run:

sudo lshw

For a more readable output, run:

sudo lshw -short

Or to generate an HTML file, run:

sudo lshw -html > hardware-info.html 

Using lspci and lsusb

lspci and lsusb are command-line utilities for Linux systems that provide information about the PCI (Peripheral Component Interconnect) devices and USB (Universal Serial Bus) devices connected to the system, respectively.

lspci: This utility lists all the PCI devices on the system, such as graphics cards, network interfaces, sound cards, and other hardware components that use the PCI bus. It can display information like device vendor, device model, and the bus it’s connected to. lspci is particularly useful for identifying hardware components, troubleshooting, and gathering information for driver installation.

lsusb: This utility lists all the USB devices connected to the system, such as keyboards, mice, storage devices, and other peripherals that use the USB interface. It displays information like device vendor, device model, and the USB bus it’s connected to. lsusb is useful for identifying USB devices, troubleshooting, and gathering information for driver installation or configuration.

Both lspci and lsusb are generally pre-installed on most Linux distributions, as they are part of the pciutils and usbutils packages, respectively.

Step 1: Open Terminal

Open the terminal by pressing Ctrl + Alt + T on your keyboard or by searching for it in the applications menu.

Step 2: Run lspci and lsusb

To list all PCI devices, such as graphics cards and network interfaces, run:

lspci

To list all USB devices connected to your system, run:

lsusb

Using dmidecode

dmidecode is a command-line utility for Linux systems that provides information about the computer’s hardware components and system configuration by parsing the Desktop Management Interface (DMI) or System Management BIOS (SMBIOS) data. DMI is a standard that allows system manufacturers to store information about the hardware and its configuration in a standardized format, which can be accessed by software like dmidecode.

dmidecode displays various hardware details, such as system manufacturer, model, BIOS version, memory configuration, CPU details, and more. It is particularly useful for system administrators and technicians who need to gather hardware information for troubleshooting, inventory, or documentation purposes.

Step 1: Open Terminal

Open the terminal by pressing Ctrl + Alt + T on your keyboard or by searching for it in the applications menu.

Step 2: Install dmidecode

On Debian/Ubuntu-based distros, run:

sudo apt install dmidecode

On Fedora/RPM-based distros, run:

sudo dnf install dmidecode

On Arch-based distros, run:

sudo pacman -S dmidecode

Step 3: Run dmidecode

To display hardware information, run:

sudo dmidecode

To view specific information, use flags like sudo dmidecode -t system for system information or sudo dmidecode -t memory for memory information.

Using inxi

Inxi is a command-line utility for Linux systems that provides comprehensive system information, including hardware, software, and system configuration details. It is a versatile tool, capable of displaying a wide range of information, such as CPU, memory, storage devices, graphics cards, network interfaces, audio devices, and more.

Inxi is designed to be user-friendly, with options to customize the output to display the information you need. It can be a helpful tool for troubleshooting, as it provides a quick overview of the system configuration and hardware components.

Step 1: Open Terminal

Open the terminal by pressing Ctrl + Alt + T on your keyboard or by searching for it in the applications menu.

Step 2: Install inxi

On Debian/Ubuntu-based distros, run:

sudo apt install inxi

On Fedora/RPM-based distros, run:

sudo dnf install inxi

On Arch-based distros, run:

sudo pacman -S inxi

Step 3: Run inxi

To display the hardware information, run:

inxi -F

For more detailed information, run:

inxi -Fxxxz

Using graphical tools

HardInfo is a graphical hardware information tool for Linux systems. It provides an easy-to-use interface to display detailed information about your computer’s hardware components and system specifications. HardInfo can display information about the processor, memory, storage devices, graphics cards, network interfaces, and other components. It also provides benchmarking capabilities to test your system’s performance. HardInfo is a great tool for users who prefer a graphical user interface (GUI) over command-line utilities for checking hardware information.

Step 1: Open Terminal

Open the terminal by pressing Ctrl + Alt + T on your keyboard or by searching for it in the applications menu.

Step 2: Install HardInfo

On Debian/Ubuntu-based distros, run:

sudo apt install hardinfo

On Fedora/RPM-based distros, run:

sudo dnf install hardinfo

On Arch-based distros, run:

sudo pacman -S hardinfo

Step 3: Run HardInfo

After installation, run HardInfo from the application menu or by running:

hardinfo

Conclusion

With these command-line utilities and graphical tools, you can quickly and easily access detailed hardware information on your Linux system. Knowing your hardware components and their specifications can help you make informed decisions when upgrading or troubleshooting your system.

Please Leave Feedback and Corrections in the Comments

More to Explore

Why MALIBAL?

When it comes to choosing a laptop, you have numerous options from well-known brands like Dell, HP, Lenovo, and Apple. Each of these companies offers a range of products designed to meet the diverse needs of their customers. However, if you’re looking for a brand that stands out in terms

Read More »

How to Dual Boot Windows and Linux

Dual booting allows you to run two separate operating systems on a single computer, providing the flexibility to switch between different OS environments according to your needs. By setting up a dual-boot system with Windows and Linux, you can enjoy the robust performance and extensive software library of Windows alongside

Read More »

Table of Contents

Leave a Reply

Availability

We wish to inform our valued customers that, due to significant business growth and existing supply chain constraints, our laptop inventory is expected to be sold out this holiday season.

To secure a laptop for your personal or professional needs in anticipation of Christmas, we recommend placing your order at your earliest convenience.

Upon order placement, the estimated delivery date will be clearly indicated on the cart page, assuring the receipt of your purchase well ahead of the holiday festivities.

We appreciate your understanding and are dedicated to serving you with excellence.

What are you looking for?

Type in a question or keyword below

Search

Frequently Asked Questions

Why MALIBAL?

In a marketplace dominated by large corporations, MALIBAL offers a refreshing alternative that focuses on open-source support, the right to repair, hardware integration in the USA, personalized US-based customer support, and the unique combination of customization and high-performance technology in sleek, user-friendly designs. For those who value these qualities, MALIBAL stands out as a distinct and appealing choice among laptop brands.

Learn More

Are all the parts soldered to the motherboard?

In many modern laptops, especially thin and light models (like Apple’s MacBook Air or Pro, Dell’s XPS 13, or many of Lenovo’s ThinkPad X1 Carbon models), the memory, storage, battery, and wireless module are often soldered directly onto the motherboard. This is done to save space and allow the laptop to be thinner, but it means that the RAM and SSD are not user-upgradeable.

However, as part of our commitment to the Right to Repair Movement, the memory, storage, battery, and wireless module all MALIBAL laptops are user-upgradeable or user-replaceable.

Do any of your laptops support coreboot?

Coreboot is an open-source project aimed at replacing the proprietary BIOS (Basic Input/Output System) firmware found in most computers. BIOS firmware is the first piece of software that runs when a computer is turned on. It initializes the hardware and starts the operating system.

Coreboot is designed to perform only the minimum amount of hardware initialization necessary to load and run a modern 32-bit or 64-bit operating system. This minimalist approach not only reduces the complexity and potential attack surface of the firmware, but it can also speed up the system boot time significantly.

Coreboot can be used with payloads such as a Linux kernel, SeaBIOS, or UEFI firmware to provide a complete firmware solution. It’s appreciated by users who want to have more control over their hardware, value the transparency and security that come from open-source software, or have specialized requirements.

Coreboot with EDK II is supported on our Aon line of laptops.

Can your laptops be charged or powered via USB-C?

USB-C is revolutionizing the way we charge laptops. As a universal charging standard, USB-C has a number of advantages that make it particularly suited for this task.

First and foremost, it offers high power delivery capability – up to 100 watts – which is sufficient to charge even power-hungry laptops. This eliminates the need for proprietary laptop chargers and allows for charging via common adapters, power banks, or even other laptops.

Additionally, USB-C is a reversible connector, meaning it can be inserted either way, making it more user-friendly.

It also supports data transfer and display output, allowing for a single cable to provide power, transfer data, and connect to external monitors.

All MALIBAL laptops can be powered via the Thunderbolt 4 port.

Who is MALIBAL?
MALIBAL is an innovative technology company that produces high-performance, custom linux laptops for developers and content creators; mobile workstations for engineers, scientists, video editors, 3D modelers, and animators; and mobile servers for enterprise applications. On our site, you will find information about the best linux laptops, such as our Aon S1 and Aon L1 models, our customers, new articles, latest news, guides, features, and more.
How do I get a quote?

If you need a quote for any reason, e.g., to submit to accounting for approval, before ordering, simply add the laptop(s) you want to purchase to the Cart, then click Checkout, and on the checkout page, click Convert Cart to Quote. We will email you a PDF of the quote with a link to make payment once you are ready to complete the order.

How do I cancel an order?

You may cancel an order any time up until it ships. After it ships, you will not be able to cancel it, but will instead have to use our return policy in order to return the laptop for a refund. To cancel an order, simply open a sales ticket or sales chat and give the representative your order information, and they will cancel the order for you and send you confirmation via email and text.

How do I make a change to my order?

You may make changes to your order up until it ships. To modify an order, simply open a sales ticket or sales chat and give the representative your order information and specify which changes you want to make.

When is my order shipping?

If all parts are in stock, the average build time for laptops is 5-7 business days. This means laptops will ship 5-7 business days after the order is placed. If a component is backordered, it will say which parts are backordered in your order confirmation email.

To see the estimated delivery date of your laptop, please check your order confirmation email for the Estimated Delivery Date. You can also see this information on your My Account > Order Details page. The estimated delivery date is the build time (plus backorder delay, if applicable) plus the shipping time.

Once your laptop ships out, we will email you the tracking information. An adult will need to be at the address to sign for the package when it arrives.

How do I track my order after it ships?

You can view your tracking status via the order details page in your account.