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
SSH Multiplexing: Speed Up SSH with ControlMaster
Configure SSH multiplexing with ControlMaster, ControlPath, and ControlPersist to reuse connections for SSH sessions and file transfers.

Bash Heredoc: Complete Guide with Examples
Bash heredoc lets you pass multi-line text directly to a command inside a shell script. This guide covers syntax, variable expansion, indentation with <<-, SSH usage, and common mistakes.

Bash Functions
How to define and use Bash functions, pass arguments, return values, and apply best practices for writing cleaner and more maintainable scripts.

touch Command in Linux: Create Files and Update Timestamps
The touch command creates empty files and updates file timestamps in Linux. This guide covers access time, modification time, custom timestamps, and reference file usage.

How to Force git pull to Overwrite Local Files
Replace a local Git branch with its remote version safely using fetch and reset, with backup steps for commits, modified files, and untracked files.

How to Use Linux Screen
Keep commands running after you disconnect from SSH with GNU Screen. Start, detach, reattach, list, and kill sessions, plus windows, scrollback, and .screenrc.

git switch: Switch and Create Branches
Switch Git branches, create new branches, track remote branches, and handle uncommitted changes with practical git switch examples.

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.

How to Use Nano, the Linux Command Line Text Editor
Learn the essential nano commands and keyboard shortcuts: open, save, and exit files, search and replace text, copy and paste, and use sudo nano to edit system files.

Bash Comparison Operators: Equal, Not Equal, Greater Than
Compare numbers and strings in Bash with -eq, -ne, -gt, == and !=. Covers not equal checks, greater-than tests, and when to use [ ], [[ ]], or (( )).

Series
Cheatsheets
Job Control Cheatsheet
Quick reference for Bash job control: background jobs, jobs, fg, bg, wait, and keeping processes alive after logout with disown, nohup, and setsid
nano Cheatsheet
Quick reference for Nano text editor shortcuts
usermod Cheatsheet
Quick reference for modifying Linux user accounts with usermod and managing groups with groupadd, gpasswd, and groupdel
Apache Cheatsheet
Apache HTTP Server at a glance: service commands, file layout on Ubuntu and RHEL, virtual hosts, modules, .htaccess, redirects, TLS, reverse proxy, and log formats.




