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
Check Open Ports in Linux: nmap, netcat, and Bash
Scan a Linux host or remote server for open ports with nmap, netcat, telnet, and Bash /dev/tcp, then distinguish closed ports from filtered connections.

ss Command in Linux: Display Socket Statistics
Use the ss command to list TCP, UDP, and Unix sockets, filter by port and state, read queue columns, inspect timers, and replace common netstat commands.

How to Open a Port in the Firewall on Linux
Open a port in a Linux firewall with ufw, firewalld, nftables, or iptables, then make the rule persistent and test remote access.

PHP Error Reporting: Enable, Display, and Log Errors
Step-by-step instructions for configuring PHP error reporting. Covers error levels, display_errors, error_log, php.ini settings, and runtime configuration with error_reporting().

dnf Command in Linux: Install, Update, and Manage Packages
Common dnf commands for installing, updating, removing, searching, and managing packages on Fedora, RHEL, Rocky Linux, AlmaLinux, and other RPM-based systems.

How to List Installed Packages on Debian with apt and dpkg
See what is installed on Debian, which packages you chose yourself, which use the most disk space, and when each one arrived, using apt and dpkg-query.

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.

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




