📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials Linux Command Line Kernel and System Info

Kernel and System Info

4 min read
uname -r shows the kernel version. lshw -short lists hardware. lscpu shows CPU details. lsblk shows disks. free -h shows memory. /proc/cpuinfo and /proc/meminfo contain detailed system hardware information.

System Information Commands

uname -a          # kernel version
lsb_release -a    # distro info
cpu=$(lscpu | grep "Model name")
free -h           # memory
lshw -short       # hardware info
dmesg | tail      # kernel messages
/proc/cpuinfo     # CPU details
/proc/meminfo     # memory details