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
export Command in Linux: Set Bash Environment Variables
Use export to turn Bash shell variables into environment variables that child processes inherit, list exported variables, and make them permanent across sessions.

mv Command in Linux: Move Files and Directories
Move and rename files and directories in Linux with the mv command, including overwrite prompts, backups, the -T option, and cross-filesystem moves.

git stash: Save and Restore Uncommitted Changes
Use git stash to set aside uncommitted changes, switch branches, and bring the work back later. Includes applying a specific stash, stashing untracked files, and fixing pop conflicts.

How to Install OpenAI Codex CLI on Linux
Install OpenAI Codex CLI on Linux with the standalone installer or npm, sign in with ChatGPT or an API key, and run your first task in a project.

Linux File Permissions Explained
Linux file permissions control who can read, write, and execute files and directories. Learn how to inspect and change permissions with ls, stat, and chmod.

How to Upgrade Debian 12 to Debian 13 Trixie
Step-by-step instructions for upgrading Debian 12 Bookworm to Debian 13 Trixie, including sources.list changes, package upgrades, and post-upgrade verification.

chmod 777: What It Means and Why You Should Never Use It
chmod 777 grants every user full control of a file or directory. See why it is risky and when to use safer 755 or 644 permissions instead.

How to Install phpMyAdmin on Ubuntu 26.04
Install phpMyAdmin on Ubuntu 26.04 with Apache or Nginx, create a MySQL login, restrict access, and fix localhost/phpmyadmin not found errors.

How to Unzip a .gz File in Linux
Unzip a .gz file in Linux with gzip or gunzip, keep the original file when needed, and extract .tar.gz archives with tar.

Docker CMD vs ENTRYPOINT: Differences Explained
Compare Docker CMD and ENTRYPOINT with working Dockerfile examples, runtime overrides, shell vs exec form, signal handling, and Docker Compose.

Series
Cheatsheets
HTTP Status Codes Cheatsheet
HTTP status codes from 1xx to 5xx, common error causes, Nginx and Cloudflare codes, and curl and log commands for checking responses.
jq Cheatsheet
jq filter reference for selecting fields, filtering arrays with select, building objects, CSV and TSV output, shell variables, and editing JSON files.
CIDR and Subnet Mask Cheatsheet
IPv4 CIDR prefix to subnet mask table from /0 to /32 with address and host counts, subnet boundaries, reserved ranges, IPv6 prefix sizes, and CIDR in Linux commands.
tr Cheatsheet
tr command reference for translating, deleting, and squeezing characters, with character classes, escape sequences, case conversion, and pipeline recipes.



