🖥️hardware-info

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the hardware-info command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#   ██╗  ██╗ █████╗ ██████╗ ██████╗ ██╗    ██╗ █████╗ ██████╗ ███████╗    ██╗███╗   ██╗███████╗ ██████╗ 
#   ██║  ██║██╔══██╗██╔══██╗██╔══██╗██║    ██║██╔══██╗██╔══██╗██╔════╝    ██║████╗  ██║██╔════╝██╔═══██╗
#   ███████║███████║██████╔╝██║  ██║██║ █╗ ██║███████║██████╔╝█████╗█████╗██║██╔██╗ ██║█████╗  ██║   ██║
#   ██╔══██║██╔══██║██╔══██╗██║  ██║██║███╗██║██╔══██║██╔══██╗██╔══╝╚════╝██║██║╚██╗██║██╔══╝  ██║   ██║
#   ██║  ██║██║  ██║██║  ██║██████╔╝╚███╔███╔╝██║  ██║██║  ██║███████╗    ██║██║ ╚████║██║     ╚██████╔╝
#   ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚═════╝  ╚══╝╚══╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝    ╚═╝╚═╝  ╚═══╝╚═╝      ╚═════╝ 
                                                                                                                    
                                                                                                                    
                                                                                                                
# Display all hardware details
sudo lshw

# List currently loaded kernel modules
lsmod

# List all modules available to the system
find /lib/modules/$(uname -r) -type f -iname "*.ko"

# Load a module into kernel
modprobe modulename

# Remove a module from kernel 
modprobe -r modulename

# List devices connected via pci bus
lspci

# Debug output for pci devices (hex)
lspci -vvxxx

# Display cpu hardware stats
cat /proc/cpuinfo

# Display memory hardware stats
cat /proc/meminfo

# Output the kernel ring buffer
dmesg

# Ouput kernel messages
dmesg --kernel

################################################################################################
# -------------------------------------------------------------------------------------------- #
# --          _                   _                              _        __                -- #
# --         | |__   __ _ _ __ __| |_      ____ _ _ __ ___      (_)_ __  / _| ___           -- #
# --         | '_ \ / _` | '__/ _` \ \ /\ / / _` | '__/ _ \_____| | '_ \| |_ / _ \          -- #
# --         | | | | (_| | | | (_| |\ V  V / (_| | | |  __/_____| | | | |  _| (_) |         -- #
# --         |_| |_|\__,_|_|  \__,_| \_/\_/ \__,_|_|  \___|     |_|_| |_|_|  \___/          -- #
# --                                                                                        -- #
# -------------------------------------------------------------------------------------------- #
################################################################################################

#==============================##==============================#
# CMD HARDWARE-INFO						       #
#==============================##==============================#
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░