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
setuid, setgid, and the Sticky Bit Explained
Understand the setuid, setgid, and sticky bit special permissions in Linux: what each one does on files and directories, how to set them, and the security risks.

Delete Files and Directories in Python: os, pathlib, and shutil
How to delete single files, match and remove files by pattern, and remove directories in Python using the os, pathlib, and shutil modules.

How to Rename Files and Directories in Linux
Rename files and directories in Linux using mv for single renames and rename for batch filename changes, including extension changes, case conversion, and safe previews.

modprobe Command in Linux: Load and Manage Kernel Modules
Manage Linux kernel modules with modprobe: load, unload, blacklist, and configure module parameters. Includes syntax, practical examples, and troubleshooting.

How to Set Git Username and Email with git config
Set Git username and email with git config, both globally and per repository, check the current values, and update existing settings.

GitHub CLI: Manage Repositories, Issues, and Pull Requests
Use GitHub CLI to create and clone repositories, manage pull requests and issues, inspect workflow runs, publish releases, and call the GitHub API.

How to Comment in Python
Comments make Python code easier to read and maintain. This guide explains how to write single-line comments, multiline comments, docstrings, and the shebang line.

How to Install Caddy on Ubuntu 26.04
Install Caddy on Ubuntu 26.04 from the official repository, then configure automatic HTTPS, static sites, reverse proxying, systemd, and logs.

How to Check if a File or Directory Exists in Python
Check whether a file or directory exists in Python using pathlib, os.path, or try-except, with examples that avoid race conditions.

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

Series
Cheatsheets
date Cheatsheet
Quick reference for the Linux date command covering display formats, format specifiers, relative dates, timezones, Unix timestamps, and setting the system clock.
PostgreSQL Cheatsheet
Quick reference for connecting to PostgreSQL, managing databases and roles, granting privileges, and running backup commands.
pip Cheatsheet
Quick reference for pip commands covering package installation, version constraints, requirements files, upgrades, virtual environments, and configuration.
cut Cheatsheet
Quick reference for extracting fields, bytes, and characters with cut in Linux




