System Information
Display system details.
uname -a
uname -r
uname -m
uname -oHostname
Show or set hostname.
hostname
sudo hostnamectl set-hostname newhostname
hostnamectlUptime
Show system uptime.
uptime
uptime -p
uptime -sAdvertisement
Memory Information
Show memory usage.
free -h
free -m
cat /proc/meminfo
vmstatCPU Information
Display CPU details.
lscpu
cat /proc/cpuinfo
nprocDisk Information
List block devices.
lsblk
lsblk -f
blkidPCI Devices
List PCI hardware.
lspci
lspci -vUSB Devices
List USB devices.
lsusb
lsusb -vOS Release
Show OS information.
cat /etc/os-release
lsb_release -aDate and Time
Show current date/time.
date
date +"%Y-%m-%d %H:%M:%S"
timedatectl
calLast updated: January 2026