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
503 Service Unavailable Error: Causes and How to Fix It
The 503 Service Unavailable error means the server cannot handle your request right now. This guide explains what causes it on Nginx, Apache, and load balancers, and how to fix it.

Fix npm Error: unable to get local issuer certificate
Resolve the npm UNABLE_TO_GET_ISSUER_CERT_LOCALLY error by trusting the right CA certificate instead of disabling TLS verification.

How to Rename a Directory or Folder in Linux
Rename a folder in Linux with mv, avoid the move-inside-existing-directory trap with -T, and batch rename directories using loops, find, and rename.

git fetch vs git pull: What Is the Difference?
git fetch downloads remote changes without touching your branch, while git pull also merges or rebases them. See when to use each and how to fix pull errors.

nmap Command in Linux with Practical Examples
Practical nmap examples for Linux: find live hosts, scan specific or top ports, run sudo nmap SYN scans, detect service versions, and speed up scans with -T4.

Configuring the Apache Error and Access Logs
How to configure and read Apache access and error logs, including log formats, virtual host logging, log file locations, and filtering log output.

Linux patch Command: Apply Diff Files
The Linux patch command applies diff files to your original files. Examples cover creating a patch with diff, testing it with --dry-run, -p1 for Git patches, backups, and reversing changes.

How to Diagnose OOM Killer Events in Linux
Diagnose Linux OOM kills with dmesg and journalctl, identify affected processes, check service memory limits, and investigate systemd-oomd events.

What Is /dev/null in Linux
The Linux /dev/null device discards anything written to it and returns EOF when read. This guide shows how to silence stdout, stderr, cron output, and empty files.

.gitignore: Ignore Files and Folders in Git
Use .gitignore to ignore folders, files, logs, and build output in Git. Covers the pattern syntax, global rules, tracked-file cleanup, and debugging commands.

Series
Cheatsheets
systemd Unit File Cheatsheet
systemd unit file directives at a glance: [Unit] dependencies, service types, Exec commands, restart policy, users and environment, resource limits, hardening, timers, and drop-in overrides.
timedatectl Cheatsheet
Quick reference for checking time status, changing time zones, controlling NTP sync, and setting the system clock with timedatectl
GitHub CLI Cheatsheet
gh at a glance: authentication, repositories, pull requests, issues, GitHub Actions runs and secrets, releases, search, extensions, and the API.
sudo Cheatsheet
sudo at a glance: running commands as root, credential caching, environment handling, sudoers rule syntax, aliases, Defaults, and logging.




