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
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.

How to Change MySQL User Password
Change a MySQL or MariaDB user password from the mysql shell using ALTER USER. Covers MySQL 8.0 and 8.4, the root account on Ubuntu, FLUSH PRIVILEGES, and common errors.

Using curl to Make REST API Requests
Send GET, POST, PUT, PATCH, and DELETE requests to a REST API with curl, pass tokens and API keys, and check status codes and JSON responses from the terminal.

How to Use the Linux ftp Command to Transfer Files
Transfer files to and from a remote server using the Linux ftp command. Covers connections, downloads, uploads, passive mode, and scripted transfers.

fdisk Command in Linux: Create Disk Partitions
Use the fdisk command in Linux to list disks, create GPT or MBR partitions, change partition types, format new partitions, and mount them safely.

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.




