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
Crontab: Scheduling Cron Jobs in Linux
Cron is a Linux scheduling daemon that runs tasks at defined intervals. This guide explains crontab syntax, operators, predefined macros, environment variables, and practical scheduling examples.

CPU Info on Linux: Check CPU Details from the Command Line
Read CPU model, core and thread counts, cache sizes, and virtualization support on Linux from the command line with /proc/cpuinfo, lscpu, and dmidecode.

ps Command in Linux: ps aux and Common Options
Use ps aux and related ps command options in Linux to list running processes, read output columns, sort by CPU or memory, filter by PID or user, and show full command lines.

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.

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




