All Articles
Browse all Linuxize tutorials, guides, and references.
How to Check Your Ubuntu Version
Find which Ubuntu version is installed on your system using the command line. Covers lsb_release, /etc/os-release, hostnamectl, and other methods.

Debian vs Ubuntu Server: Which One Should You Use?
Side-by-side comparison of Debian and Ubuntu Server covering release cycles, package freshness, security, cloud support, and ease of setup to help you pick the right one.

How to List Docker Containers
List running and stopped Docker containers with docker container ls and docker ps. Covers filtering, formatting output, showing sizes, and grabbing container IDs.

Apache Commands: Manage and Troubleshoot Your Web Server
Quick reference for essential Apache commands on Linux. Covers service control, configuration testing, modules, virtual hosts, version info, and log files.

tail Command in Linux: View the End of Files and Follow Logs
Practical examples of the tail command for viewing the end of files, following logs in real time, and combining tail with grep and other tools.

find Command in Linux: Search Files and Directories
The find command searches for files and directories by name, type, size, date, permissions, and more. This guide covers practical examples including wildcards, exec actions, and combining find with grep.

How to Extract (Unzip) tar.gz Files in Linux
Extract tar.gz and tgz archives with the tar command. Covers extracting to a directory, pulling specific files, wildcards, stdin piping, and listing archive contents.

mkdir Command in Linux: Create Directories
The mkdir command creates directories in Linux from the command line. This guide covers creating single and multiple directories, nested paths with -p, setting permissions, and brace expansion.

env Command in Linux: Show and Set Environment Variables
The env command prints environment variables and runs programs with a modified environment. This guide covers env syntax, running commands with custom variables, clean environments, and portable shebangs.

htop Command in Linux: Monitor Processes Interactively
htop is an interactive process viewer for Linux that shows CPU, memory, and swap usage in real time. This guide covers sorting, filtering, tree view, killing processes, and customizing the display.

nohup Command in Linux: Run Commands After Logout
The nohup command keeps a process running after you log out or close the terminal. This guide covers syntax, background execution, output redirection, and how to manage nohup processes.

503 Service Unavailable Error: Causes and How to Fix It
The 503 Service Unavailable error means the server cannot handle your request. This guide explains what causes it and how to fix it on Nginx and Apache.

Bash Functions
How to define and use Bash functions, pass arguments, return values, and apply best practices for writing cleaner and more maintainable scripts.

Create a Linux Swap File
How to create and enable a swap file on Linux, configure swappiness, resize an existing swap file, and remove it when no longer needed.

How to Upgrade Debian 12 to Debian 13 Trixie
Step-by-step instructions for upgrading Debian 12 Bookworm to Debian 13 Trixie, including sources.list changes, package upgrades, and post-upgrade verification.

Bash if...else Statement
A complete guide to Bash if, if...else, and if...elif...else statements with practical examples, test operators, and one-line syntax.

Nginx Server Blocks on Ubuntu: Host Multiple Websites
Set up Nginx server blocks on Ubuntu to host multiple websites on a single server, each with its own document root, logs, and configuration.

nmap Command in Linux with Practical Examples
Use the nmap command in Linux to discover hosts, scan ports, detect services, and understand common scan options such as -sn, -Pn, and -sV.

lsof Command in Linux: List Open Files and Network Connections
The lsof command lists every open file, socket, and network connection on a Linux system. This guide covers how to find what is using a port, trace open files by process or user, and recover disk space from deleted but held-open files.

How to Check for Listening Ports in Linux: Find Open and Used Ports
Use ss, netstat, or lsof to list all listening ports in Linux, identify which process is using a specific port, and filter results by protocol or port number.
