HARDWARE-INFO Commands Cheat Sheet

Here is a cli commands cheat sheet for HARDWARE-INFO command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is HARDWARE-INFO command?

Add some data here

        # To display all hardware details:
sudo lshw

# To list currently loaded kernel modules:
lsmod

# To list all available modules:
find /lib/modules/$(uname -r) -type f -iname "*.ko"

# To load a module:
modprobe 

# To remove a module:
modprobe -r 

# To list devices connected via pci bus:
lspci

# To debug output for pci devices (hex):
lspci -vvxxx

# To display cpu hardware stats:
cat /proc/cpuinfo

# To display memory hardware stats:
cat /proc/meminfo

# To output the kernel ring buffer:
dmesg

# Ouput kernel messages
dmesg --kernel
    

Check out the HARDWARE-INFO command documentation .


You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list