Find Hardware Specs (Details) on your Computer February 18, 2007
Posted by Carthik in commands, snippets, ubuntu.trackback
I stumbled upon the nifty “lshw” tool today. lshw lists your hardware. Try it now:
$sudo lshw
You can get specific details by using the -C flag:
$sudo lshw -C disk
will list all you hard disks.
It create an html page with your hardware details if you do a:
$sudo lshw -html > your-file-name.html
I generated one for my laptop and put it up for future reference. Now I have an answer to the question, “what network adapter do you have, or what wireless driver are you using?”
I know, this is something probably all of you know already. I just found out about this little tool today. I expect this info might be useful for those of you just learning the ropes, like me.







Oh, if only I’d known about this about a month ago, where I spent hours trying to find out what MHz my current RAM were running at so I could get some that matched….
The possibility to create an html file is very handy. I didn’t know this utility. Thanks.
Thanks, good tip. Also, maybe a good debaday entry?
Thanks a lot for helping me know this wonderful tool. Have linked you in my site
Arun
http://www.arunma.com
lshw - Hardware details on Ubuntu/Linux
This is a wonderful tool for Linux users. Know all your hardware details with this superb tool called “lshw”
Try it now:
$sudo lshw
You can get specific details by using the -C flag:
$sudo lshw -C disk
will list all you hard disks.
To create an h…
Well, this person didn’t know about it.
Thanks muchly!
I didn’t know about the html option. This was a great tip
Thanks a lot!!
Thanks man. This is great tip
Dude you just published your ip config and mac address for the ip config to the world. Not such a strong security tip. But in fairness a great tip for a private html page.
I think that if there’s anything you can tell from lshw that you can’t tell from the Device Manager, that’s a bug worth reporting about the Device Manager.
Awesome tip! Very useful–thanks.
Nice tip. Should make support easier.
A+ and a Gold Star
Wow, seems like I was not the only one who found it terribly handy
mpt, as opposed to lshw, I have trouble figuring out where to find out, say, the make and specs of my processor. The lshw page that I created for myself(that’s another thing the Device Manager lacks), seems to have information organized in a better, more readable way.
I filed two bugs:bug 1, bug 2.
Will you be interested in some nice point-and-click interface that fetches and presents all this information?
Hi Roy,
If I understand correctly, mpt was saying that that’s what the device database is supposed to do. Improvements to that would be most welcome
Roy sysinfo does it nice gui wrap around lshw but give both an abbreviated version and a full listing. Oh and it’s in the ubuntu repo’s
[...] Find Hardware Specs (Details) on your Computer (tags: hardware linux ubuntu lshw) [...]
you could even use the hwinfo command
Thanks for this tools
I like it, and I will promote it in french, on my blog
http://www.pastanque.be/splitsch
You may also want to use lshw-gtk for a gui view
It would be nice for Ubuntu tu enable this by default with a command in the menu.
Crap! How come I didn’t know about lshw! I can think of so many different times I needed something exactly like this.
Thank you so much for posting this.
sweet sweet and sweet!
[...] just read about a really useful command that let you know the specifications in detail of your [...]
[...] post by Planet Ubuntu Tagged: Linux, Ubuntu Trackback [...]
Thanks for that packages, even more interesting is that lshw-gtk packet, so you can browse through that information on X.
Please don’t mind, i mentioned your article on my debian blog….
Hi, Well i feel like a real dumbo but how do you use this $sudo lshw
where do you type it?
everyone here seems to know……… so im dumb..
However Where do we type it?
Cheersfanxta
[...] Vía [...]
another example of why linux is awesome!
This blog is really superb!!! Thank you for you work! Good Luck
Wow - Thanks! Didn’t know the html bit. Very very handy! It will form a major part of my command toolkit now! Thanks again!
[...] Find Hardware Specs (Details) on your Computer « Ubuntu Blog [...]
[...] Find Hardware Specs (Details) on your Computer [...]
[...] Artículo original: Ubuntu Blog [...]
[...] Je vous présente aujourd’hui, vite fait bien fait, l’outil “lshw” (via ubuntu.wordpress.com) [...]
Thanks a bunch for this tool - really useful
Jessie
you have a very nice blog and very informative article
[...] Source : Ubuntu blog [...]
how to cpu, processor details,memory details(Hard Disk,RAM),processor speed in linux machine..
i need the exact command to do that.plz do the needful thing for that
i want to know the sound card whether it is working or not
thanks for the blog….its really nice & useful information
[...] 02 2007 Über diesen Post hab ich von einem genialen Tool erfahren: [...]
Wow what a fantastic too. I’ll definately be using this a bit!
Yep, Hewlett Packard definitely makes nice notebooks and I’ve owed several of them. I think though since I own my own business now I’d like to get a laptop with a little more “umph” so I’ve been looking at the different models that Sony makes. I’ve never actually owned a Sony but I’ve used a countless number of them and they’ve always given me a pleasurable experience.
I’m looking to go Pentium and a 3 Gig minimum with at least 2 Gigs of RAM. I plan on spending a lot of time on the road and I’ll need this power to run my business from the road and in other offices. Can anyone recommend a specific model?
Thank you…
It help when I needed info about my 8 year old MAC POWERBOOK G4 with UBUNTU 6.06 LTS.
// Kim
Hey all,
I tried to use this command in OpenSuse 10.3 and it wouldn’t work. come to find out lshw is a bit more than a command. Here is a weblink for the site for it.
http://ezix.org/project/wiki/HardwareLiSter
In addition, I found three other commands that might come in handy for us Linux folks.
command - hwinfo - basically does the same thing as lshw (I think)
command - free - shows you how much memory you have in the system
command - dmidecode - not exactly sure what it does but it sure does look cool
later
Hey all,
I tried to use this command in OpenSuse 10.3 and it wouldn’t work. come to find out lshw is a bit more than a command. Here is a weblink for the site for it.
http://www.0s0s.net