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
Fix "E: Unable to Locate Package" on Ubuntu and Debian
Fix the APT Unable to locate package error on Ubuntu and Debian by refreshing the package index and checking the package name, release, and repository.

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 Remove or Delete a Directory in Linux
Remove a directory in Linux with rmdir for empty folders, rm -rf for non-empty ones, or find for bulk deletion. Examples and common errors.

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.

How to Install Node.js and npm on Ubuntu 22.04
Three ways to install Node.js and npm on Ubuntu 22.04: NodeSource for Node.js 26 LTS, nvm for multiple versions, and the default Ubuntu packages.

How to Install Node.js and npm on Ubuntu 24.04
Install Node.js 26 LTS or Node.js 24 and npm on Ubuntu 24.04 with apt, the NodeSource repository, or nvm, including upgrade and uninstall steps.

How to Install Node.js and npm on Ubuntu 26.04
Set up Node.js 26 LTS and npm on Ubuntu 26.04 using NodeSource, nvm, or the Ubuntu repository, with steps for Node.js 24, upgrades, and removal.

Linux Network Bandwidth Monitoring Tools: iftop, nload, bmon, vnstat
Compare nload, iftop, nethogs, bmon, and vnstat for checking Linux network bandwidth per interface, connection, and process, and over time.

sort Command in Linux: Sort Lines of Text
Sort lines in Linux alphabetically, numerically, or by column with sort -k and -t. Covers reverse, unique, version, and in-place sorting with examples.

stat Command in Linux: Display File and Filesystem Information
stat shows a file's size, inode, permissions, and timestamps. Read its output, check filesystem details, and print single fields for scripts with --format.

Series
Cheatsheets
traceroute and mtr Cheatsheet
Quick reference for traceroute, tracepath, and mtr: UDP, ICMP, and TCP probes, hop limits, output codes, mtr reports, and Windows tracert equivalents
.gitignore Cheatsheet
.gitignore pattern syntax at a glance: wildcards, directory rules, negation, anchoring, global ignore files, untracking committed files, and git check-ignore.
HTTP Status Codes Cheatsheet
HTTP status codes from 1xx to 5xx, common error causes, Nginx and Cloudflare codes, and curl and log commands for checking responses.
jq Cheatsheet
jq filter reference for selecting fields, filtering arrays with select, building objects, CSV and TSV output, shell variables, and editing JSON files.




