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

Fix GRUB Rescue: Repair the GRUB Bootloader on Ubuntu
Stuck at the grub rescue> prompt? Boot Ubuntu from the rescue shell, then reinstall GRUB from the running system or a live USB on BIOS and UEFI machines.

apt Command in Linux
How to use apt on Ubuntu and Debian, from sudo apt update and apt install to upgrades, removals, searches, and fixes for common lock and package errors.

How to Read a File Line By Line in Bash
Read a file line by line in Bash with while and read, loop over lines with for and mapfile, load a file into a variable, and avoid common pitfalls.

Fix Docker "Error Getting Credentials"
Fix Docker's 'error getting credentials' message by checking config.json, repairing missing credential helpers, and resolving keyring or pass errors.

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.




