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
tee Command in Linux with Examples
Use the tee command to save command output to a file while still printing it in the terminal. Covers appending, writing to multiple files, capturing errors, and sudo tee for root-owned files.

How to Select All in Vim: Copy, Delete, or Yank Every Line
Select all text in Vim with ggVG, yank every line with :%y, copy the whole file to the system clipboard, or delete all lines with :%d. No plugins required.

How to Fix Broken Packages and Unmet Dependencies on Ubuntu
Fix broken packages and unmet dependencies on Ubuntu, repair interrupted installations, and diagnose held packages and repository conflicts.

/etc/passwd in Linux: File Format and Fields Explained
The cat /etc/passwd command displays local Linux accounts. This guide explains its seven fields and when to use getent passwd instead.

du Command in Linux: Check Disk Usage with du -sh
du -sh prints the total size of a directory in one line. See how to list subdirectory sizes, include hidden files, stay on one filesystem with -x, and sort by size.

How to Compress Video Files with ffmpeg
Compress video files with ffmpeg using H.264 or H.265, adjust CRF and presets, resize footage, or use two-pass encoding for a target file size.

How to Install Odoo 20 on Ubuntu 24.04
Install Odoo 20 on Ubuntu 24.04 from source in a Python virtual environment, run it as a systemd service, and serve it over HTTPS through Nginx.

How to Upgrade to Ubuntu 26.04
Upgrade Ubuntu 24.04 LTS or 25.10 to Ubuntu 26.04.1 LTS Resolute Raccoon from the command line with do-release-upgrade, on both desktop and server systems.

nvidia-smi Command in Linux: Monitor GPU Usage
Monitor NVIDIA GPU usage on Linux with nvidia-smi. Read memory, temperature, and power metrics, track processes, and log GPU statistics to CSV.

How to Install and Use Ollama on Ubuntu 26.04 and 24.04
Set up Ollama on Ubuntu 26.04 or 24.04 with the official script, run Llama 3.2 locally, manage models, check GPU use, and call the local API.

Series
Cheatsheets
Bash Parameter Expansion Cheatsheet
Bash parameter expansion syntax for default values, substrings, prefix and suffix removal, search and replace, case conversion, and arrays.
Bash Keyboard Shortcuts Cheatsheet
Bash keyboard shortcuts for editing commands, searching history, completing words, and controlling foreground jobs.
Netcat Cheatsheet
Quick reference for using the Netcat nc command to test ports, listen for connections, transfer files, and send raw network requests
Claude Code Cheatsheet
Quick reference for Claude Code in the terminal: session flags, print mode for scripts, slash commands, keyboard shortcuts, permission rules, MCP servers, hooks, and config file locations.




