The system information tool inxi shows the information cleanly and without having to do all the checks of dmidecode / /sys manually. See the man page for full feature list.

It supports systems with and without /sys, though with /sys data, you don't need to be root to get the full hardware output, with dmidecode you do.

$inxi -M Machine: Device: desktop Mobo: ASRock model: A770DE+ BIOS: American Megatrends v: P1.70 date: 09/07/2010

You can, as root, also force the data to come from dmidecode:

#inxi -! 33 -Mxxx ## inxi 2.3.56 and older #inxi --dmidecode -Mxxx ## inxi 2.9 and newer Machine: Device: desktop Mobo: ASRock model: A770DE+ BIOS: American Megatrends v: P1.70 rv 8.14 date: 09/07/2010 rom size: 1024 kB

inxi is available in the repos of most GNU/Linux distributions, or is installable directly by just grabbing the script and installing it.

Sample of the basic output mode (-b)

$inxi -bxx System: Host: my-box Kernel: 4.6-6.1-liquorix-686-pae i686 (32 bit gcc: 5.4.1) Desktop: Xfce 4.12.3 (Gtk 2.24.30) dm: lightdm Distro: Debian GNU/Linux 7.0 Machine: Device: desktop Mobo: ASRock model: A770DE+ BIOS: American Megatrends v: P1.70 date: 09/07/2010 CPU: Dual core AMD Athlon 64 X2 5000+ (-MCP-) speed/max: 1000/2600 MHz Graphics: Card: NVIDIA GT218 [GeForce 210] bus-ID: 02:00.0 chip-ID: 10de:0a65 Display Server: X.Org 1.19.0 driver: nvidia Resolution: 1280x1024@60.02hz, 1280x1024@60.02hz GLX Renderer: GeForce 210/PCIe/SSE2/3DNOW! GLX Version: 3.3.0 NVIDIA 340.101 Direct Rendering: Yes Network: Card: Intel 82574L Gigabit Network Connection driver: e1000e v: 3.2.6-k port: c800 bus-ID: 01:00.0 chip-ID: 8086:10d3 Drives: HDD Total Size: 1080.2GB (36.8% used) Info: Processes: 313 Uptime: 26 days Memory: 4457.2/8094.0MB Init: systemd v: 232 runlevel: 5 default: 3 Gcc sys: 6.3.0 alt: 4.0/4.2/4.4/4.5/4.6/4.7/4.8/4.9/5 Client: Shell (bash 4.4.51 running in xfce4-terminal) inxi: 2.3.8

New output format in inxi 3.x