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 Check Python Version
Check the Python version on Linux, macOS, or Windows, locate the active interpreter, and read version information from inside a script.

How to Rename Files and Directories in Linux
Rename files and directories in Linux using mv for single renames and rename for batch filename changes, including extension changes, case conversion, and safe previews.

How to Set a Static IP Address on Ubuntu Server and Desktop
Set a static IP address on Ubuntu with Netplan on servers, nmcli from the command line, or GNOME Settings on the desktop, and test the change safely with netplan try.

How to Create Groups in Linux: groupadd Command
This guide explains how to create groups in Linux using the groupadd command, including how to set a custom GID, create system groups, and manage group options.

GitHub CLI: Manage Repositories, Issues, and Pull Requests
Use GitHub CLI to create and clone repositories, manage pull requests and issues, inspect workflow runs, set Actions secrets, publish releases, and call the GitHub API.

scp Command in Linux: Secure File Transfer Examples
SCP copies files securely between local and remote hosts over SSH. This guide covers syntax, uploads, downloads, custom ports, and the options you need for everyday transfers.

How to Set Git Username and Email with git config
Set Git username and email with git config, both globally and per repository, check the current values, and update existing settings.

Free Command in Linux
Learn how to use the Linux free command to check RAM and swap usage. Includes output explained, human-readable format, and useful options.

How to Check Memory Usage in Linux
Check RAM and swap usage in Linux with free, top, /proc/meminfo, and ps_mem, and find out which processes are consuming the most memory.

Fix the NO_PUBKEY GPG Error on apt update
Fix the apt NO_PUBKEY error on Ubuntu and Debian by installing a verified repository signing key under /etc/apt/keyrings and using signed-by.

Series
Cheatsheets
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.
Nginx Cheatsheet
Nginx directives at a glance: server blocks, location matching, reverse proxy headers, TLS, redirects, rate limits, caching, and log formats.
ffmpeg Cheatsheet
Keep essential ffmpeg commands close at hand, from stream inspection and lossless remuxing to CRF encoding, filters, subtitles, and GPU acceleration.




