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
Bash Strict Mode: set -euo pipefail Explained
A practical guide to Bash strict mode: how set -e, set -u, set -o pipefail, and IFS change script behavior, why they catch silent failures, and when to turn them off.

How to Use an SSH Jump Host with ProxyJump
Connect to private servers through an SSH jump host with ssh -J and ProxyJump. Configure keys, copy files, forward ports, and restrict the bastion account.

exFAT on Linux: Mount and Use exFAT Drives on Ubuntu
Linux reads and writes exFAT through a built-in kernel driver. Mount exFAT USB drives and SD cards on Ubuntu, add an fstab entry, format with exfatprogs, and fix 'unknown filesystem type' errors.

Bash if, elif, and else Statements: Syntax and Examples
Write Bash conditionals with if, if else, and elif blocks. Covers test operators, file checks, commands as conditions, && and || chains, and one-line if syntax.

chattr Command in Linux: Change File Attributes
The chattr command changes file attributes in Linux. Make a file immutable with chattr +i, keep logs append-only with +a, and check flags with lsattr.

tr Command in Linux: Translate, Delete, and Squeeze Characters
The tr command translates, deletes, and squeezes characters from standard input. This guide covers tr syntax, character sets and ranges, case conversion, removing line endings, and practical pipeline examples.

Rsync Command in Linux with Examples
Use rsync to sync files and directories locally or over SSH. Covers common options, dry runs, exclusions, mirroring, and troubleshooting.

How to Build Docker Images with Dockerfile
Write a Dockerfile, build an image with docker build, and run it as a container. Includes an Ubuntu 26.04 example, the -f option, .dockerignore, and multi-stage builds.

How to Flush DNS Cache on Linux, Windows, macOS, and Chrome
Commands to flush the DNS cache on Linux (systemd-resolved, dnsmasq, nscd), Windows, and macOS, plus how to clear the Chrome and Firefox DNS cache.

find Command in Linux: Search Files and Directories
The find command searches for files and directories by name, type, size, date, permissions, and more. This guide covers practical examples including wildcards, exec actions, and combining find with grep.

Series
Cheatsheets
usermod Cheatsheet
Quick reference for modifying Linux user accounts with usermod and managing groups with groupadd, gpasswd, and groupdel
Apache Cheatsheet
Apache HTTP Server at a glance: service commands, file layout on Ubuntu and RHEL, virtual hosts, modules, .htaccess, redirects, TLS, reverse proxy, and log formats.
SSH Config Cheatsheet
SSH client config directives at a glance: Host and Match patterns, keys, jump hosts, keepalives, multiplexing, port forwarding, host key checking, and tokens for ~/.ssh/config.
SQLite Cheatsheet
SQLite command-line reference for opening databases, running SQL, formatting results, importing CSV files, and making backups.




