Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Check Linux Computer Configuration

Use these step-by-step instructions to check Linux computer Configuration. The guide also explains key options and common mistakes to avoid.

Table of Contents

This practical guide walks through how to check Linux Computer Configuration. It organizes the required steps, settings, and checks so you can complete the task with fewer mistakes.

Several commands available to check Linux computer configuration information and configuration. Some commands only display hardware information such as CPU or memory, other commands display full detailed information.

Check Linux Computer Configuration - step or example 1

How to check Linux computer configuration

Review this guide to learn some basic commands to check Linux computer configuration.

Here are some basic commands to check Linux computer configuration:

Lscpu Command

The lscpu command provides information about the CPU and processing units. This command does not have any other options or functions.

Lscpu

When running the above command, the output looks like below:

Lscpu - step or example 2

Lspci Command

Lspci is another command line tool, this command lists all the PCI buses and detailed information about the devices connected to them such as VGA adapter, graphics card, network card, USB ports, SATA controller,..

Lspci

When running the above command, the output looks like below:

Lspci - step or example 3

Additionally, we can also filter specific device information by running the command below:

Lspci -V | Grep "VGA" -a 12

The screen displays the graphics card information as below:

Lspci -V | Grep

Lshw Command

Lshw helps report detailed and concise information about hardware units such as CPU, memory, USB controllers, drives, etc. Lshw extracts information from various "/proc" files.

Lshw -Short

When running the above command, the output displays the information as shown below:

Lshw -Short - step or example 5

Lsscsi Command

To list all scsi/sata devices like hard drives and optical drives, we use the command below:

Lsscsi

The output looks like below:

Lsscsi - step or example 6

Lsusb Command

This command displays USB controllers and details about the devices connected to them. By default, the lsusb command will print brief information. If we want, we can use the -v Option to print detailed information for each USB port.

Lsusb

The output results look like this:

Lsusb - step or example 7

Inxi Order

The Inxi command is a bash script that retrieves hardware information from many sources and commands on the system, then returns to the user a report including information and configuration of the Linux computer.

By default, inxi is not installed on Ubuntu. To install inxi, we use the command below:

Sudo Apt-get Install Inxi

After installing inxi, to get hardware information we run the command below:

Inxi -Fx

The output results look like this:

Inxi -Fx - step or example 8

Df Command

This command provides brief information about the different partitions, mount points, used and available free space on each partition.

We can run the df command with the -H parameter:

Df -H

The output has the form:

Df -H - step or example 9

Free Order

To check the amount of used RAM, the amount of free RAM, and the total amount of RAM on a Linux computer, we use the Free command:

Free -M

The output results look like this:

Free -M - step or example 10

Dmidecode Command

Different from other commands, the dmidecode command extracts hardware information by reading data from DMI tables.

To display information about the processor, we run the command:

Sudo Dmidecode -T Processor

Sudo Dmidecode -T Processor - step or example 11

To display memory information, we run the command:

Sudo Dmidecode -T Memory

Sudo Dmidecode -T Memory - step or example 12

To display information about BIOS, we run the command:

Sudo Dmidecode -T Bios

Sudo Dmidecode -T Bios - step or example 13

Hdparm Command

The hdparm command provides information about sata devices such as hard drives.

Sudo Hdparm

When running the above command, the output looks like below:

Sudo Hdparm - step or example 14

The above article TipsMake has just introduced you to some basic commands to check Linux computer configuration, different from how to check Mac and Windows Configuration . Each command displays different hardware and configuration information. If you want, you can use multiple commands to search for specific hardware details. All the above command line tools are available in most Linux distributions and can be easily installed from the default repositories.

FAQ

What do I need before I check Linux Computer Configuration?

Prepare the required device, software, account access, and any files mentioned in the steps. Back up important data before changing system settings.

Why does the process look different on my device?

Menus and options can vary by operating system, app version, device model, or region. Use the closest matching setting and check the official documentation when needed.

What should I do if a step does not work?

Restart the app or device, confirm permissions and connectivity, update the software, and repeat the step carefully. Avoid unofficial downloads or tools.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.