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
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.

How to Create a File in Linux
Create a file in Linux from the command line with touch, redirection, cat, echo, printf, or a heredoc, and build large test files with fallocate, truncate, and dd.

nano Save and Exit: Save Files and Quit the Editor
Save and exit nano with Ctrl+O and Ctrl+X, save instantly with Ctrl+S, quit without saving, use a new filename, and fix permission errors.

How to Change a Git Commit Message, Even After Pushing
Change the last Git commit message with git commit --amend, reword older commits with an interactive rebase, and update commits you already pushed.

How to Mount ISO File on Linux
Mount an ISO file on Linux with the mount command and a loop device, attach it as a regular user with udisksctl, or extract its contents without mounting. Covers desktop file managers, other disk image formats, and fstab entries.

parted Command in Linux: Manage Disk Partitions
Use the parted command to inspect disks, create GPT partition tables, add aligned partitions, resize boundaries, and remove partitions safely on Linux.

Series
Cheatsheets
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
nano Cheatsheet
Quick reference for Nano text editor shortcuts
cp Cheatsheet
Quick reference for copying files and directories with cp in Linux




