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 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.

Linux Watch Command
Use the watch command in Linux to run commands at regular intervals and monitor output changes in the terminal. Includes interval, highlighting, pipes, and practical examples.

Bash: Write to File
Redirect output to files in Bash using the > and >> operators, tee command, and heredocs, with examples for overwriting, appending, and writing multiple lines.

Fix "Temporary Failure in Name Resolution" on Linux
Fix "Temporary failure in name resolution" on Linux: test the resolver, query your DNS server, and set working DNS servers in Netplan or NetworkManager.

Linux cp Command: Copy Files and Directories
The cp command copies files and directories in Linux. This guide covers recursive and archive copies, directory contents, overwrite control, and attributes.

Fix "Cannot Connect to the Docker Daemon" Error
Fix Docker daemon connection errors on Linux. Check which socket Docker is using, see why the service failed, and fix permission or context errors.

How to Remove a User in Linux
Remove a user in Linux with userdel, including the home directory, active sessions, scheduled jobs, SELinux mappings, and files left behind.

smartctl Command in Linux: Check Disk Health with SMART
Use smartctl in Linux to check SMART health, read disk attributes, run self-tests, troubleshoot USB enclosures, and monitor NVMe wear.

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




