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
Fix "sudo: command not found" on Linux
How to fix the 'sudo: command not found' error on Linux by installing the sudo package, adding your user to the right group, and recovering from a broken PATH.

Podman vs Docker: Differences and Migration Guide
This guide compares Podman and Docker across architecture, rootless containers, systemd integration, Compose workflows, image builds, and migration planning.

How to Back Up and Restore MySQL Databases with Mysqldump
Step-by-step guide to backing up and restoring MySQL and MariaDB databases using the mysqldump utility. Covers single and full backups, compressed backups, restoring dumps, and automating backups with cron.

pip vs apt: Installing Python Packages on Linux
This guide explains when to use pip or apt for Python packages on Ubuntu and Debian, why sudo pip install is risky, and where virtual environments fit.

Grep Multiple Patterns: Match Strings, Words, and Regex
Search for multiple patterns or strings at once with grep using the -e flag, fixed-string matching, alternation, and pattern files.

chgrp Command in Linux: Change File Group Ownership
The chgrp command changes the group ownership of files and directories in Linux. This guide covers syntax, recursive changes, symlink handling, and practical examples.

dpkg Command in Linux: Install and Manage Debian Packages
Use dpkg to install, remove, query, and inspect Debian packages on Ubuntu, Debian, and other Debian-based distributions.

How to Pass Arguments to a Bash Script
This guide explains how to pass arguments to Bash scripts, read positional parameters, loop over $@, set defaults, validate input, and parse flags with getopts.

reboot Command in Linux: Restart with systemctl and shutdown -r
Three commands cover common Linux reboot scenarios: reboot for an immediate restart, systemctl reboot for the systemd path, and shutdown -r for scheduled restarts with user notifications.

Bash source Command: Load Scripts and Variables
The Bash source command executes a file in the current shell environment, making its variables and functions available to the calling script. This guide covers syntax, common uses, and practical examples.

Series
Cheatsheets
Podman Cheatsheet
Quick reference for Podman commands and rootless container workflows
dpkg Cheatsheet
Quick reference for installing, removing, querying, and inspecting Debian packages with dpkg
reboot Cheatsheet
Quick reference for rebooting and scheduling restarts on Linux
ripgrep Cheatsheet
Quick reference for recursive text searches with the ripgrep command




