Get hardware information with the Linux command line on Debian.

Posted: August 3, 2015. At: 11:25 AM. This was 2 years ago. Post ID: 8295

The hwinfo command for Linux will allow the user to get hardware information from the command line.

Type sudo apt-get install hwinfo to install this command. It will be installed in the /sbin directory and therefore, you will need superuser privileges to execute this command and get the hardware information.

[email protected]:~$ sudo apt-get install hwinfo

This will output a report showing a whole host of hardware information. The amount of information will be quite comprehensive, so redirecting the output to a file will be a good idea.

[email protected]:~$ sudo hwinfo > hardware_report.txt

The amount of hardware information you get is amazing. A massive amount of BIOS info and hardware details. Very good if you are submitting a bug report and information about your computer is required.

No comments have been made. Use this form to start the conversation :)

Leave a Reply