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

Install deb Files on Ubuntu: apt, dpkg, and gdebi
Install local .deb files on Ubuntu with apt, dpkg, or gdebi. Fix dependency errors, inspect packages, install via GUI, and remove them safely.

zip Command in Linux: Zip Files and Directories
Create ZIP archives in Linux with the zip command. Zip directories recursively, exclude files, add a password, and split large archives.

jq Command: Process JSON from the Terminal
How to use the jq command to read, filter, and transform JSON on the command line, from selecting fields to building new objects and parsing API responses.

passwd Command in Linux: Change User Passwords
Change your own, another user's, or the root password in Linux with the passwd command. Covers password expiry with chage, forcing a change at next login, and account locking.

Linux Folder Size: How to Check File and Directory Sizes
Check folder and file sizes in Linux with du. Compare directory totals, rank subdirectories, exclude paths, and check free space with df.

Series
Cheatsheets
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.
Bash Keyboard Shortcuts Cheatsheet
Bash keyboard shortcuts for editing commands, searching history, completing words, and controlling foreground jobs.




