Practical Linux Tutorials and Command-Line Guides
Search hundreds of step-by-step tutorials for Bash, Ubuntu, networking, security, and more.
Featured Articles
Linuxize Weekly Newsletter
A quick weekly roundup of new tutorials, news, and tips.
Latest Articles
How to Install PHP on Ubuntu 26.04
Install PHP 8.5 on Ubuntu 26.04 with Apache or Nginx, add common extensions, and set up PHP 8.4 or other versions from the Sury repository.

How to Install Claude Desktop on Ubuntu and Debian
Install Claude Desktop on Ubuntu or Debian from Anthropic's signed APT repository or a downloaded .deb package, then launch it and keep it up to date.

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.

sftp Command in Linux: Transfer Files Securely
The sftp command transfers files securely over SSH. Connect to servers, upload and download files, resume transfers, and automate batch jobs.

Bash Range: Sequence Expression Syntax and Examples
The Bash sequence expression generates a range of integers or characters using {START..END} syntax. This guide covers step increments, zero-padding, for loop usage, and how to handle variable ranges with seq.

file Command in Linux: Determine File Types
Identify file types from the command line using the Linux file command. Covers basic usage, MIME types, compressed files, symlinks, and the magic database.

rpm Command in Linux: Install, Query, and Verify Packages
Install an RPM package with rpm -ivh or dnf, then query, upgrade, remove, and verify packages on Fedora, RHEL, Rocky Linux, and AlmaLinux.

How to Install and Configure WireGuard VPN on Ubuntu 26.04
Set up a WireGuard VPN server on Ubuntu 26.04 with UFW and IPv4 forwarding. Connect Ubuntu, Windows, macOS, Android, and iOS clients.

curl vs wget: Differences and When to Use Each
Compare curl vs wget defaults, redirects, error handling, retries, recursive downloads, and API requests to choose the right command for each task.

Tar Command in Linux: Create and Extract Archives with Examples
Create, extract, and list tar archives in Linux with gzip, bzip2, xz, and zstd examples, plus extracting to a specific directory and excluding files.

Series
Cheatsheets
Linux System Information Cheatsheet
Commands that show Linux system information: distro and kernel version, CPU, memory, disks, hardware, firmware, uptime, and boot history.
printf Cheatsheet
printf reference for Bash: format specifiers, flags, width and precision, escape sequences, %(fmt)T dates, padded columns, and common errors.
su Cheatsheet
Quick reference for switching users and running commands with su in Linux
traceroute and mtr Cheatsheet
Quick reference for traceroute, tracepath, and mtr: UDP, ICMP, and TCP probes, hop limits, output codes, mtr reports, and Windows tracert equivalents




