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
The ~/.ssh Folder: Files, Permissions, and Layout
What lives inside ~/.ssh on Linux: private keys, authorized_keys, known_hosts, config, and the recommended permissions for each file.

How to Comment Out Multiple Lines in Vim
Comment out multiple lines in Vim with visual block mode, line ranges, or bundled gc mappings, then remove comments with the matching commands.

Nginx 413 Request Entity Too Large: client_max_body_size Fix
Fix the Nginx 413 Request Entity Too Large error: raise client_max_body_size in the right context and match the PHP-FPM upload limits.

ssh Command in Linux: Connect to Remote Servers
The ssh command connects you to a remote Linux server. This guide covers its syntax, the most useful options, key-based login, and port forwarding.

less Command in Linux: Navigate and Search Files
How to use the less command in Linux to view files page by page, search for text, follow log files in real time, and navigate with vi-style key bindings.

Things to Do After Installing Ubuntu 26.04
Post-install checklist for Ubuntu 26.04: updates, drivers without Software & Updates, media codecs, Flatpak, backups, Ubuntu Pro, firewall, and desktop tweaks.

How to Find Which Process Is Using a Port in Linux
Find the Linux process listening on a TCP or UDP port with ss, lsof, fuser, or netstat, then inspect and stop it safely.

Fix pip "externally-managed-environment" Error on Ubuntu and Debian
Fix pip's externally-managed-environment error on Ubuntu and Debian with a virtual environment, pipx, or apt, without changing the system Python packages.

How to Save a File and Exit Vim / Vi
Save a file and quit Vim or Vi with :w, :wq, :q!, :x, ZZ, and ZQ. This guide explains the common save, exit, discard, and read-only file commands.

How to Unzip Files in Linux
Extract ZIP archives in Linux with the unzip command: unzip to a folder, handle password-protected and multiple archives, list or test contents, and exclude files.

Series
Cheatsheets
jq Cheatsheet
jq filter reference for selecting fields, filtering arrays with select, building objects, CSV and TSV output, shell variables, and editing JSON files.
CIDR and Subnet Mask Cheatsheet
IPv4 CIDR prefix to subnet mask table from /0 to /32 with address and host counts, subnet boundaries, reserved ranges, IPv6 prefix sizes, and CIDR in Linux commands.
tr Cheatsheet
tr command reference for translating, deleting, and squeezing characters, with character classes, escape sequences, case conversion, and pipeline recipes.
Bash Parameter Expansion Cheatsheet
Bash parameter expansion syntax for default values, substrings, prefix and suffix removal, search and replace, case conversion, and arrays.




