Installing LSHW On Linux Using Terminal

Are you looking for a quick way to view the system specs on a Linux machine?

If you need to view the CPU version, the amount of hard drive space you have, the amount of RAM you have or any other information about your computer (running Linux) this article will guide you on how to do so using just the Terminal and a simple command . Information can be output in plain text, XML or HTML.

There are many different commands that will allow you to do this but I find the lshw command to be the most suitable and easiest to read. The lshw command is a convenient way to display all of your system’s specs in a very quick, clean and legible format.

Installing LSHW

Step 1. Download the rpm for lshw by running a wget command

Step 3.
sudo yum install lshw
It will say process completed and you should now have the program installed on your machine.

Step 3. Run the command
You can run the command by itself or with the -short option. The -short option will be shorter and more concise.

Here is a screenshot of some of the info the lshw command will display

Screenshot from 2018-05-13 21-06-59

Here is what it looks like when you run lshw -short
Screenshot from 2018-05-13 21-16-03

And you’re all set.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at

Up ↑

%d bloggers like this: