Home » Linux » Linux – commands showing hardware information

Linux – commands showing hardware information

We’ll explain some useful commands to show hardware and software configuration in Ubuntu 16.04; for some of them may be necessary installing the relative package, executing:

$ sudo su

# apt-get install command

For cpu info:

lscpu

For general hardware info:

lshw
hwinfo

For pci, scsi, usb, etc.:

lspci
lsscsi
lsusb
inxi -Fx

For disks:

lsblk
df
fdisk
mount
free
hdparm

For Ubuntu version:

lsb_release -a

 

Leave a Reply