Commands to get information about your Linux system:
uname -a
: Displays basic system information.lsb_release -a
: Provides details about the Linux distribution.hostname
: Shows the system’s hostname.cat /etc/os-release
: Displays information about the operating system.cat /proc/version
: Shows the kernel version.lsblk
anddf -h
: Lists disk and filesystem usage.free -h
: Displays memory usage.lscpu
: Shows CPU information.lspci
: Lists PCI devices.lsusb
: Lists USB devices.ifconfig
orip a
: Displays network interface information.ls /etc/*-release
: Lists release information files.
These commands provide a quick way to gather essential information about your Linux system.
Join the conversation.