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.

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:

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:

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:

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:

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:

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:

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:

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:

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:

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

To display memory information, we run the command:
Sudo Dmidecode -T Memory

To display information about BIOS, we run the command:
Sudo Dmidecode -T Bios

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:

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.
Reader Comments 0
Sign in with email or Google to join the discussion.