vmstat Command in Linux: Memory, CPU, and I/O Statistics
Use vmstat to monitor Linux CPU, memory, swap, processes, and disk I/O. This guide explains each column, live sampling, timestamps, and disk statistics.
Command references for core Linux tools, syntax, examples, and practical one-liners.
The /etc/fstab file defines how filesystems and storage devices are mounted at boot. This guide explains the fstab format, field syntax, and recovery.
Create user accounts in Linux with useradd: home directories, passwords, groups, shells, UIDs, and expiry dates, plus how useradd works.
Comprehensive guide covering package installations, repositories, locks, dependency management, and unattended upgrades.
Use vmstat to monitor Linux CPU, memory, swap, processes, and disk I/O. This guide explains each column, live sampling, timestamps, and disk statistics.
Use the rm command in Linux to delete files and directories, with examples for recursive removal, force mode, safety prompts, glob patterns, and safer alternatives.
The ls command lists files and directories in Linux. Learn how to use ls -l, ls -al, hidden-file options, sorting, and practical combinations.
Use the systemctl command to list running, failed, and enabled Linux services. Includes filtering by state, checking status, and listing unit files.
Use ps aux and related ps command options in Linux to list running processes, read output columns, sort by CPU or memory, and filter by PID or user.
Use the ss command to list TCP, UDP, and Unix sockets, filter by port and state, read queue columns, inspect timers, and replace legacy netstat.
Common dnf commands for installing, updating, removing, searching, and managing packages on Fedora, RHEL, Rocky Linux, AlmaLinux, and other RPM systems.
Stop stuck programs in Linux with kill, killall, pkill, and xkill. Find the PID, send SIGTERM first, and use SIGKILL only when the process refuses to exit.
Real-time filesystem search with the find utility. Filter by name, type, size, modification time, and execute batch commands with exec and xargs.
Fast pattern scanning across files and pipelines. Covers recursive search, line numbers, inverted matches, context lines, and extended regex.
Connect securely to remote Linux servers using OpenSSH. Config files, key authentication, port forwarding, and agent forwarding best practices.
Fast, flexible file-copying tool for local and remote transfers. Bandwidth limiting, archive mode, permissions preservation, and SSH tunnels.