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

timedatectl Command in Linux: Manage Time, Date, and Time Zone
Check and change the system time, time zone, and NTP sync with timedatectl, plus how to see and set NTP servers with chrony or systemd-timesyncd.

How to Edit Your Hosts File on Linux, Windows, and macOS
Edit the hosts file on Linux, Windows, and macOS to override DNS locally. Includes file paths, entry examples, saving steps, and verification commands.

How to Check Listening Ports in Linux: ss, netstat, lsof
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.

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.




