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

Find Large Files in Linux: Using find and du
Find the largest files and directories in Linux using the find and du commands. Includes practical examples for sorting by size and cleaning up disk space.

Cron Every 5 Minutes: 5, 10, and 15-Minute Crontab Examples
Run cron every 5 minutes with */5 * * * *. This guide also covers 10 and 15-minute crontab expressions, testing, logging, and overlap prevention.

btop Command in Linux: Monitor System Resources
Monitor CPU, memory, disks, network traffic, and processes with btop. This guide covers installation, keyboard shortcuts, process actions, and configuration.

Bash source Command: Load Scripts and Variables
Use source (or its dot shorthand) to run a file in your current shell, reload .bashrc, share functions between scripts, and load variables from a config file.

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




