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
How to Check Your Debian Version: Commands and Release List
Debian 13 (trixie) is the current stable release. Check your version with /etc/os-release, lsb_release, or hostnamectl, plus codenames and support dates.

How to Remove a Symbolic Link (Symlink) in Linux
Remove symbolic links in Linux with rm, unlink, or find. Clean up broken symlinks and avoid the trailing-slash trap that can remove target directory contents.

How to Run a Bash Script in Linux
Run a bash script in Linux with chmod +x, the bash interpreter, or source. Step-by-step examples with common errors and fixes.

sleep Command in Linux: Pause a Bash Script
How to use the sleep command in bash to pause script execution. Examples cover seconds, minutes, sleep infinity, retry loops, countdowns, and background sleeps.

How to Create a Self-Signed SSL Certificate with OpenSSL
Generate a self-signed SSL/TLS certificate and private key on Linux using the openssl command. Covers RSA and ECDSA keys, Subject Alternative Names (SAN), and non-interactive generation.

Tar Command in Linux: Create and Extract Archives with Examples
Create, extract, list, and compress tar archives in Linux. Examples for gzip, bzip2, xz, and zstd, plus excluding files, wildcard extraction, and stripping path components.

awk Command in Linux: Syntax, Patterns, and Examples
Use awk to extract columns, filter records, and build reports from the command line, with practical examples of patterns, built-in variables, functions, and arrays.

Linux basename Command: Get File Name from Path in Bash
Get just the file name from a full path in Bash. This guide covers basename options, suffix stripping, and how it compares to parameter expansion.

echo Command in Linux: Print Text and Variables
Print text, variables, script arguments, and exit codes with echo in Linux, plus escape sequences, colored output, and the quoting pitfalls to avoid.

Grep Command in Linux with Examples
The grep command searches files for text patterns. Quick examples for case-insensitive, recursive, whole-word, regex, and context-line searches.

Series
Cheatsheets
Bash Cheatsheet
Quick reference for Bash shell scripting
awk Cheatsheet
Quick reference for the awk text processing command
grep Cheatsheet
Quick reference for the grep text search command
wget Cheatsheet
Quick reference for downloading files and mirroring websites with wget




