uptime - ✔️✔️Show how long the systems has been running + load
hostname - ✔️✔️Show system host name
hostname -I - ✔️✔️Display all local IP addresses of the host
last reboot - ✔️✔️Show system reboot history
date - ✔️✔️Show the current date and time
uname -a - ✔️✔️Display Linux system information
uname -r - ✔️✔️Display kernel release information
cat /etc/redhat-release - ✔️✔️Show which version of Red Hat installed
lsb_release -a - ✔️✔️Show which version of Ubuntu installed
cal - ✔️✔️Show this month's calendar
w - ✔️✔️Display who is online
whoami - ✔️✔️Who you are logged in as
dmesg - ✔️✔️Display messages in kernel ring buffer
cat /proc/cupinfo - ✔️✔️Display CPU Information
cat /proc/meminfo - ✔️✔️Display memory information
free -h - ✔️✔️Display free and used memory (-h for human readable, - m for MB, -g for
GB)
lspci -tv - ✔️✔️Display PCI devices
lsusb -tv - ✔️✔️Display USB devices
dmidecode - ✔️✔️Display DMI/SMBIOS (hardware info) from the BIOS
, hdparm -i /dev/sda - ✔️✔️Show info about disk sda
hdparm -tT /dev/sda - ✔️✔️Perform a read speed test on disk sda
badblocks -s /dev/sda - ✔️✔️Test for unreadable blocks on disk sda
lshw - ✔️✔️Display information about CPU, memory, storage, and network interfaces
lsblk - ✔️✔️Display information about all storage devices
top - ✔️✔️Display and manage the top processes
htop - ✔️✔️Interactive process viewer (top alternative)
mpstat 1 - ✔️✔️Display processor related statistics
vmstat 1 - ✔️✔️Display virtual memory statistics
iostat 1 - ✔️✔️Display I/O statistics
tail -100 /var/log/messages - ✔️✔️Display the last 100 syslog messages (use
/var/log/syslog for Debian based systems.)
tcpdump -i eth0 - ✔️✔️Capture and display all packets on interface eth0
tcpdump -i eth0 'port 80' - ✔️✔️Monitor all traffic on port 80 (HTTP)
lsof - ✔️✔️List all open files on the system
lsof -u user - ✔️✔️List files opened by user
free -h - ✔️✔️Display free and used memory (-h for human readable, -m for MB, -g for
GB)
watch df -h - ✔️✔️Execute "df-h", showing periodic updates
mpstate - ✔️✔️Display statistics about CPU usage
pidstat - ✔️✔️Display statistic about processes running
id - ✔️✔️Display the user and group ids of your current user.
last - ✔️✔️Display the last users who have logged onto the system