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

Bash Exit Command and Exit Codes
The Bash exit command terminates a shell or script and returns an exit code. This guide covers exit status, the $? variable, exit code conventions, set -e, and practical script examples.

TCP vs UDP: Differences and When to Use Each
Compare TCP vs UDP reliability, ordering, overhead, common ports, and use cases, with Linux ss commands for checking which transport a service uses.

at Command in Linux: Schedule One-Time Tasks
The at command schedules one-time tasks to run at a specific time in Linux. This guide covers syntax, time formats, batch jobs, listing and removing jobs, and user restrictions.

How to Add a Git Remote
Add a new remote to a Git repository with git remote add, then list, inspect, and push to it. Includes common errors and a git remote command reference.

rsync Incremental Backups with --link-dest
Create space-efficient rsync incremental backups with --link-dest. Each dated snapshot remains directly browsable while unchanged files share disk space.

How to Install and Use Ollama on Ubuntu: Run LLMs Locally
Install Ollama on Ubuntu, run large language models locally, manage downloaded models, use GPU acceleration, and send prompts through the local API.

Configure Odoo with Nginx as a Reverse Proxy
Put Nginx in front of Odoo as an SSL termination and reverse proxy. This guide covers the full Nginx server block, WebSocket proxying for live chat, HTTP to HTTPS redirection, and locking down the Odoo backend.

Bash Subshells: Isolate Variables and Directory Changes
Bash subshells run commands in an isolated shell environment. This guide explains parentheses, variable scope, directory changes, command substitution, pipelines, and exit codes.

Odoo Backup: Automate Database and Filestore Backups
Set up automatic Odoo backups that include the PostgreSQL database and filestore. This guide covers validation, retention, cron scheduling, off-site copies, and restore testing.

Series
Cheatsheets
cut Cheatsheet
Quick reference for extracting fields, bytes, and characters with cut in Linux
dig Cheatsheet
Quick reference for querying DNS records, tracing resolution, and debugging name resolution with dig
Ansible Cheatsheet
Quick reference for Ansible commands, inventories, playbooks, modules, and vault
OpenSSL Cheatsheet
Quick reference for OpenSSL commands for keys, CSRs, certificates, format conversion, TLS testing, random data, and hashes




