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

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.

ifconfig Command in Linux: Configure Network Interfaces
Read the ifconfig output field by field, fix command not found, and assign IPv4 and IPv6 addresses, MTU, and MAC values, with the ip equivalent alongside.

How to Change the Swappiness Value in Linux
Check and change Linux swappiness with sysctl, including the 0 to 200 range, persistent settings, and guidance for disk swap and zram.

dpkg Command in Linux: Install and Manage Debian Packages
Use dpkg to install, remove, query, and inspect Debian packages on Ubuntu, Debian, and other Debian-based distributions.

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.



