Linux Commands
Command references for core Linux tools, syntax, examples, and practical one-liners.
Sudo Command in Linux: Run Commands as Root
A complete guide to the Linux sudo command. Learn how to run commands as root, manage sudoers, open a root shell, list privileges, set timeouts, and more.

How to Format USB Drives and SD Cards on Linux
Step-by-step instructions for formatting USB drives and SD cards on Linux using parted and mkfs. Covers FAT32, exFAT, EXT4, and NTFS filesystems with partition table setup and verification.

How to Use sed to Find and Replace Strings in Files
Replace strings in files with sed: run sed -i 's/old/new/g' file. Covers global, case-insensitive, word-boundary, regex, line-range, and recursive replace.

rsync Exclude Patterns: Skip Files and Directories
Exclude files and directories from an rsync transfer with --exclude and --exclude-from, glob patterns, and dry-run previews, with copy-paste examples.

How to Use the kill Command in Linux
Learn how to use the kill command in Linux to terminate processes, send signals, and reload services with practical examples.

How to Remove a Symbolic Link (Symlink) in Linux
Remove symbolic links in Linux with rm, unlink, or find. Clean up broken symlinks and avoid the trailing-slash trap that can remove target directory contents.

df Command in Linux: Check Disk Space Usage
Check disk space usage in Linux with the df command. Human-readable output, filesystem types, inode usage, custom output fields, and df vs du.

Tar Command in Linux: Create and Extract Archives with Examples
Create, extract, list, and compress tar archives in Linux. Examples for gzip, bzip2, xz, and zstd, plus excluding files, wildcard extraction, and stripping path components.

How to Install Podman on Ubuntu: Rootless Container Alternative to Docker
Step-by-step instructions for installing Podman on Ubuntu, running rootless containers, building images with Buildah, and switching from Docker.

awk Command in Linux: Syntax, Patterns, and Examples
awk command examples for Linux, including syntax, patterns, field separators, column extraction, filtering, variables, arrays, and shell usage.

Grep Regex: Regular Expressions Syntax and Examples
Use grep regex to match text patterns. Examples for anchors, character classes, quantifiers, alternation, grouping, and PCRE lookarounds.

Grep Exclude: Patterns, Files, and Directories
Use grep to exclude patterns, files, and directories from search results. Examples for --invert-match, --exclude, --exclude-dir, and --include.

Grep Command in Linux with Examples
The grep command searches files for text patterns. Quick examples for case-insensitive, recursive, whole-word, regex, and context-line searches.

nmcli Command in Linux: NetworkManager CLI Reference
The nmcli command manages NetworkManager from the terminal. This guide covers device status, Wi-Fi connections, static IP configuration, DNS settings, and scripting-friendly output.

How to List Groups in Linux
Find which groups a user belongs to in Linux using the groups, id, and getent commands. Includes how to list all groups and group members on the system.

How to List Users in Linux
List all users in Linux with getent passwd or /etc/passwd. Filter human users by UID, check group membership, and see who is logged in.

How to Use wget in Linux with Examples
Step-by-step wget tutorial covering downloads, resuming, recursive mirroring, authentication, and the most useful options.

timedatectl Command in Linux: Manage Time, Date, and Time Zone
Use timedatectl to check system time, change the time zone, control NTP synchronization, set the clock manually, and inspect RTC settings on Linux.

history Command in Linux: View and Manage Bash History
Use the history command in Linux to view, search, and clean up Bash command history. Covers expansions, HISTSIZE, HISTIGNORE, and security tips.

How to Check CPU Usage in Linux
This guide explains how to check CPU usage in Linux with top, htop, mpstat, vmstat, sar, ps, uptime, and per-core load tools.
