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
Linux Kill Process: Stop Processes by PID or Name
Stop stuck programs in Linux with kill, killall, pkill, and xkill. Find the PID, send SIGTERM first, and use SIGKILL only when the process refuses to exit.

df Command in Linux: Check Disk Space Usage
Check disk space usage in Linux with the df command. Human-readable and fixed block sizes, filesystem types, inode usage, custom output fields, and df vs du.

How to Add a Directory to PATH in Linux
Add a directory to the PATH variable in Linux, temporarily or permanently, covering ~/.local/bin, custom binaries, and system-wide changes for all users.

traceroute Command in Linux
Trace the path packets take to a host, read every field of the traceroute output, decode hops that show asterisks or !X, and map Windows tracert flags to Linux.

.bashrc vs .bash_profile: What is the Difference?
Understand the difference between .bashrc and .bash_profile, when each file is loaded, and where to put aliases, PATH changes, and environment variables.

MySQL SHOW TABLES: List Tables in a Database
Use SHOW TABLES to list tables in a MySQL or MariaDB database. This guide covers filtering with LIKE and WHERE, viewing table structure and contents, and querying information_schema.

How to Add APT Repository in Ubuntu
Add APT repositories in Ubuntu using add-apt-repository, the signed-by method, and PPA. Includes the DEB822 format used by default on Ubuntu 24.04 and 26.04.

Grep Regex: Regular Expressions Syntax and Examples
Use grep regex to match text patterns. Examples for anchors, character classes, quantifiers, alternation, grouping, and PCRE lookarounds.

How to Run Linux Commands in the Background
Run Linux commands in the background using &, disown, and nohup. This guide explains how to start background processes, move foreground jobs to the background, and keep processes running after the shell exits.

Regular Expressions Explained: How Regex Patterns Work
Regular expressions explained from the ground up: how anchors, character classes, quantifiers, and groups build patterns that work in grep, sed, and awk.

Series
Cheatsheets
Regex Cheatsheet
Regex syntax and examples for Linux tools, including metacharacters, quantifiers, character classes, anchors, groups, BRE, ERE, and PCRE
df Cheatsheet
Quick reference for the df command: check disk space, display formats, filesystem filtering, inodes, and custom output fields
MySQL/MariaDB Cheatsheet
Quick reference for common MySQL and MariaDB command-line administration tasks
parted Cheatsheet
Quick reference for parted commands: inspect disks, create GPT and MBR tables, add aligned partitions, manage flags, resize boundaries, and remove partitions safely




