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 Set Environment Variables in Linux
Set, list, and make environment variables permanent in Linux. Covers shell vs environment variables, export, printenv, and persistent config in ~/.bashrc and /etc/profile.

How to Configure Networking with Netplan on Ubuntu
Configure Ubuntu networking with Netplan using practical YAML examples for DHCP, static IP addresses, DNS, Wi-Fi, bridges, and safe remote changes.

How to Enable and Disable Root User Account in Ubuntu
This guide explains how to enable and disable the root user account in Ubuntu using the passwd command, and covers safer alternatives like sudo -i and su -.

Nginx Reverse Proxy: How to Configure proxy_pass and Headers
Configure Nginx as a reverse proxy with proxy_pass and proxy_set_header, including client IP forwarding, websockets, TLS termination, and common fixes.

less Command in Linux: Navigate and Search Files
How to use the less command in Linux to view files page by page, search for text, follow log files in real time, and navigate with vi-style key bindings.

How to Change User Password in Ubuntu
Change a user password in Ubuntu from the command line with passwd, or through the GNOME Settings app. Covers your own account and other users.

Docker: List Running and Stopped Containers
Use docker container ls and docker ps to list running and stopped containers, print names and IDs, filter results, and check Docker Compose projects.

passwd Command in Linux: Change User Passwords
Change your own, another user's, or the root password in Linux with the passwd command. Covers password expiry with chage, forcing a change at next login, and account locking.

tree Command in Linux: Display Directory Structure
The tree command lists directories recursively as an indented tree. This guide covers installation, depth limits, filtering, sizes, and saving the output.

How to Read a File Line By Line in Bash
Read a file line by line in Bash using a while loop and the read command. This guide covers IFS splitting, mapfile arrays, command output, and common pitfalls.

Series
Cheatsheets
Docker Compose Cheatsheet
Docker Compose quick reference: lifecycle commands, Compose file directives, health checks, environment variables, profiles, scaling, and cleanup.
Markdown Cheatsheet
Quick reference for Markdown syntax covering headings, formatting, links, images, lists, tables, code blocks, blockquotes, and common extensions.
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.




