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.
Step 1. Download the rpm for lshw by running a wget command
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
Here is what it looks like when you run lshw -short
And you’re all set.