Collect hardware info 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.