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

How to Encrypt and Decrypt Files with GPG
Encrypt files with GPG using a passphrase or a key pair, share encrypted files with other people, protect whole directories, and decrypt safely in scripts.

curl Command in Linux: Usage and Examples
The curl command transfers data to and from servers using HTTP, HTTPS, FTP, and other protocols. This guide covers downloads, headers, POST requests, verbose debugging, proxies, and API usage.

nohup Command in Linux: Background Jobs and Output
nohup keeps commands running after logout. The 'appending output to nohup.out' message is not an error. This guide covers background jobs, 2>&1 redirection, and stopping processes.

tmux Command in Linux: Sessions, Windows, and Panes
The tmux command lets you run persistent terminal sessions with multiple windows and panes. This guide covers creating and managing sessions, splitting panes, copy mode, and configuration.

strace Command in Linux: Trace System Calls
Use the strace command to trace system calls and signals on Linux, debug why a program fails, find missing files, and measure where a process spends its time.

Series
Cheatsheets
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.
PostgreSQL Cheatsheet
Quick reference for connecting to PostgreSQL, managing databases and roles, granting privileges, and running backup commands.




