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
What Is .bashrc? When It Runs and What to Put in It
~/.bashrc controls aliases, functions, prompts, and other interactive Bash settings. See when it runs, what belongs inside it, and how to reload changes.

How to Create a tar.gz File in Linux
Create tar.gz and tgz files in Linux with the tar command. Covers directories, wildcards, exclusions, archive paths, and the -C option.

Best Linux Distros for Every Use Case in 2026
Compare the best Linux distros for beginners, gaming, servers, and security testing, with current versions and a straight answer on which one to install first.

How to Create Bash Aliases
Bash aliases let you shorten long commands into short, memorable shortcuts. This guide covers alias syntax, persistent aliases in .bashrc, and bash functions for shortcuts that take arguments.

wc Command in Linux: Count Lines, Words, and Bytes
The wc command counts lines, words, characters, and bytes in files or standard input. This guide covers common options with practical pipeline examples.

reboot Command in Linux: Restart with systemctl and shutdown -r
Three commands cover common Linux reboot scenarios: reboot for an immediate restart, systemctl reboot for the systemd path, and shutdown -r for scheduled restarts with user notifications.

Linux Kill Process: Stop Processes by PID or Name
Stop stuck programs in Linux with kill, killall, pkill, and xkill. Find the PID, send SIGTERM first, and use SIGKILL only when the process refuses to exit.

df Command in Linux: Check Disk Space Usage
Check disk space usage in Linux with the df command. Human-readable and fixed block sizes, filesystem types, inode usage, custom output fields, and df vs du.

How to Add a Directory to PATH in Linux
Add a directory to the PATH variable in Linux, temporarily or permanently, covering ~/.local/bin, custom binaries, and system-wide changes for all users.

traceroute Command in Linux
Trace the path packets take to a host, read every field of the traceroute output, decode hops that show asterisks or !X, and map Windows tracert flags to Linux.

Series
Cheatsheets
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
Regex Cheatsheet
Regex syntax and examples for Linux tools, including metacharacters, quantifiers, character classes, anchors, groups, BRE, ERE, and PCRE
df Cheatsheet
Quick reference for the df command: check disk space, display formats, filesystem filtering, inodes, and custom output fields




