Dig Up System Information Using the Terminal

Troubleshooting, upgrading, or just curious? Find out what’s in your system without opening the case. Using these Linux command line tools, you can get details about your hardware and distribution.

I’ve tested these commands in Ubuntu 7.10, but they should all work in other Linux distributions. Unless noted otherwise, all of this software is included by default with Ubuntu.

Graphics card:


Software versions:




Hard disks:

USB devices:

Even more:

Did I forget anything? Leave a comment below if you have something to add.

Archived Comments

Ali Servet Dönmez

Correction: must be “aplay –list-devices”, Cheers.

Ali Servet Dönmez

Ah it’s double “ - ” that makes “ – “… Sorry! =D


Maybe adding the command iwconfig at “Networking”?

Regards ;-)


Perhaps one important piece of information came from Ubuntu Blog, “Find Hardware Specs (Details) on your Computer” at

It create an html page with your hardware details if you do a:
$sudo lshw -html > your-file-name.html


is there a way to find out how much memory your graphics card is recognised as having.
i.e. the nvidia-glx-new driver?


My favourite:

w - output all currently logged in users and what they’re doing.

Possibly put under networking?


Thanks, you’ve helped me work out why my screen resolution isn’t higher - my graphics card doesn’t go any higher… D’oh!


Thanks! :)

Meenakshi Sundaram

thanks for the nice info…is there any command line utility which we can use to get a consolidated kind of system information???


sudo dmidecode

Respond via email