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
ffmpeg Command in Linux: Convert, Compress, and Extract Media
Practical ffmpeg examples for converting between formats, compressing video with CRF, extracting audio, trimming clips, resizing video, and batch processing files on Linux.

Bash if...else Statement
A complete guide to Bash if, if...else, and if...elif...else statements with practical examples, test operators, and one-line syntax.

Fix npm E401: Unable to Authenticate
Resolve the npm E401 'Unable to authenticate' error by fixing stale tokens, registry mismatches, and broken .npmrc auth settings for public and private registries.

du Command in Linux: Check Disk Usage
The du command reports disk space used by files and directories. This guide covers human-readable output, summary totals, depth limiting, sorting by size, and practical examples.

head Command in Linux: Print the First N Lines of a File
The head command prints the first lines or bytes of a file. This guide shows how to display a specific number of lines, preview files, and limit command output in pipelines.

How to Install and Use Super Productivity on Linux
Install Super Productivity on Linux with Flatpak, Snap, AppImage, deb, rpm, Docker, or source, then create your first task and start tracking time.

Bash case Statement: Match Patterns in Shell Scripts
The Bash case statement matches a value against a list of patterns and runs the corresponding block. This guide explains argument parsing, syntax, glob patterns, multiple matches, and fall-through behavior.

Linux Wildcards and Globbing Explained
How shell wildcards and globbing work in Linux: the *, ?, and [...] patterns, brace expansion, why globbing is not regex, and how to control it with quoting.

git diff Command: Compare Changes Between Commits and Branches
Use git diff to compare your working directory, staged files, commits, and branches, with practical examples of the options you will use most.

Bash Comparison Operators
Bash comparison operators compare numbers and strings with [ ], [[ ]], and (( )), including equal, not equal, greater-than, and pattern checks.

Series
Cheatsheets
uniq Cheatsheet
Quick reference for filtering and counting duplicate lines with uniq in Linux
date Cheatsheet
Quick reference for the Linux date command covering display formats, format specifiers, relative dates, timezones, Unix timestamps, and setting the system clock.
PostgreSQL Cheatsheet
Quick reference for connecting to PostgreSQL, managing databases and roles, granting privileges, and running backup commands.
pip Cheatsheet
Quick reference for pip commands covering package installation, version constraints, requirements files, upgrades, virtual environments, and configuration.




