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 Redirect stderr to stdout in Bash
Redirecting stderr and stdout in Bash using 2>&1, &>, and other operators. Covers file descriptors, appending, piping errors, and discarding output with /dev/null.

How to Delete Lines in Vim / Vi
Delete lines in Vim or Vi with dd, :%d, visual mode, or :g/pattern/d. Examples for single lines, ranges, all lines, and pattern-based deletion.

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.

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




