Now on ScienceBlogs: HeartlandGate: Anti-Science Institute's Insider Reveals Secrets

ScienceBlogs Book Club: Inside the Outbreaks

Greg Laden's Blog

Evolution, Life Sciences, Science Education, Human Evolution, and Stuff

Darwing_Face.jpg Learn more about Charles Darwin and his work.

Hornbill170.jpg Looking for stuff about birds?

Lion_mane170.jpg Lean more about lions

Congo_sidebar.jpg An archaeological expedition to the Congo


The Skeptical Search Engine


Nature Blog Network
Climate Defense Fund


The contents of Greg Laden's Blog are copyrighted by Greg Laden.

Recent Comments

Search

Profile


Click on "About" for the big picture, and "Archives" for the details.


Recent Posts

Blogroll

If you don't see yourself on my blogroll, just drop me a line and let me know. I'll add you.*
*Assuming that I'm on your blogroll, of course!

Archives

« Paul Porter ~ Café Scientifique | Main | Fixing your Dictionary »

Linux Terminal Fun: Find out about your hardware

Category: Computer TricksLinuxOpenSourceone-liners
Posted on: November 13, 2009 4:06 PM, by Greg Laden

The command dmidecode is " is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision." (from the "man").

You need to be the Super User to run this command, for security reasons. And, so much crap comes out all at once that you need to pipe it through the "more" command to read it. So, if you are using a Debian distribution (like Ubuntu) or otherwise have "sudo" installed, try this:

sudo dmidecode | more

"sudo" effectively means "super user do" (though how and why it means that is obsucre and highly controversial) ... and will cause a system that has that utility installed to ask for your password. The "|" thingie "pipes" the output of dmidecode to the command "more" which, in turn, fills one screen of your terminal at a time . Just hit the space bar to ... read more.

This command will be useful if you need to know how much memory you have, what kind of processor you have, etc.

Share on Facebook
Share on StumbleUpon
Share on Facebook
Find more posts in: Technology

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/124665

Comments

1

huh. That's a new one for me. Lotta detail. I have always used lshw for hardware info; one nice thing that can do is output its report in html (I like keeping a machine's particulars documented at //localhost/).

Alternatives are always a Good Thing.

Posted by: gruebait | November 13, 2009 5:20 PM

2

Also useful: lspci and lsusb. And I use 'less' instead of 'more' - less allows you to scroll by line as well, and scroll back up, and even search.

Posted by: Deen | November 13, 2009 5:42 PM

3

RE:Sudo Command
According to Gizmodo, Microsoft is trying to patent the sudo command:
http://gizmodo.com/5402796/microsoft-patents-the-sudo-command

(OK, that's what the article implies, but it actually is not what MS is doing, it's actually UAC)

Posted by: jj | November 13, 2009 5:58 PM

4

I second the recommendation of "less" over "more". There's a "most", too, which seems pretty snazzy, but I'm used to "less".

Posted by: Nemo | November 13, 2009 10:45 PM

5

well I have learned something from this post. I had no idea there were non-minimalist unices around which still provided more.

Posted by: llewelly | November 15, 2009 10:46 PM

Post a Comment

(Email is required for authentication purposes only. On some blogs, comments are moderated for spam, so your comment may not appear immediately.)





ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Follow ScienceBlogs on Twitter

© 2006-2011 ScienceBlogs LLC. ScienceBlogs is a registered trademark of ScienceBlogs LLC. All rights reserved.