OS Quick Tips shell terminal Ubuntu

Collect hardware info in Ubuntu

Handy terminal commands to collect hardware information in Ubuntu.

I had some trouble installing/upgrading my system to Ubuntu Precise 12.04, so I reported the bug and wanted to also provide my hardware info with the bug report. I found 2 commands that returned slightly different results about my hardware, but both had usable info.

The best seemed to be:

sudo lshw

Another I came across was:

sudo dmidecode

I hope this helps others.

By Adam

Speaker, author, consultant, OSS contributor, SoFloPHP UG and SunshinePHP Conf organizer, RunGeekRadio Host, Long distance runner and ultra marathoner.