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 Fix APT and dpkg Lock Errors on Ubuntu and Debian
Resolve APT and dpkg lock errors safely on Ubuntu and Debian by finding the process holding the lock and repairing interrupted package operations.

How to Start, Stop, and Restart Apache on Linux
Manage the Apache web server with systemctl on Ubuntu, Debian, Fedora, and RHEL. Covers start, stop, restart, reload, status, enable on boot, and config testing.

Bash For Loop: Syntax and Examples
A complete guide to the Bash for loop: standard syntax, C-style loops, arrays, ranges, break and continue, and real-world scripting examples.

How to Start, Stop, or Restart Nginx
Learn how to start, stop, restart, and reload Nginx using systemctl on Linux. Includes the reload vs restart difference, configuration testing, and autostart setup.

vmstat Command in Linux: Memory, CPU, and I/O Statistics
Use vmstat to monitor Linux CPU, memory, swap, processes, and disk I/O. This guide explains each column, live sampling, timestamps, and disk statistics.

rm Command in Linux: Remove Files and Directories
Use the rm command in Linux to delete files and directories, with examples for recursive removal, force mode, prompts, glob patterns, and safer rm -rf usage.

lsmod Command in Linux: List Kernel Modules
Display all currently loaded Linux kernel modules with lsmod. This guide covers output format, filtering, and related module management commands.

How to Remove (Delete) Files and Directories in Linux
Delete files and directories in Linux with rm, rmdir, unlink, and shred, plus bulk removal with find, safer confirmation prompts, and recoverable deletion.

ssh-copy-id Command: Copy SSH Keys to a Remote Server
How to use the ssh-copy-id command to copy your SSH public key to a remote server and set up passwordless login. Covers options, a manual fallback, and common errors.

ls Command in Linux: List Files and Directories
The ls command lists files and directories in Linux. See how to use ls -l, ls -al, hidden-file options, sorting, and other practical combinations.

Series
Cheatsheets
PHP Cheatsheet
PHP 8 quick reference for syntax, arrays, functions, classes, request data, files, JSON, exceptions, CLI commands, Composer, configuration, and PHP-FPM.
DNF Cheatsheet
Quick reference for package management with dnf on Fedora, RHEL, and derivatives
wc Cheatsheet
Quick reference for counting lines, words, bytes, characters, and longest line length with wc in Linux
reboot Cheatsheet
Quick reference for rebooting and scheduling restarts on Linux




