Posted: . At: 11:25 AM. This was 9 years ago. Post ID: 8295
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Get hardware information with the Linux command line on Debian.


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.

jason@darkstar:~$ 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.

jason@darkstar:~$ 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.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.