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

How to Use OpenSSL: Generate Keys, Certificates, and Test TLS
Practical OpenSSL guide for Linux: generate private keys, create CSRs and self-signed certificates, convert formats, inspect certificates, and test TLS connections.

How to Generate a Random Password or String in Linux
Generate random passwords and strings in Linux with openssl rand, /dev/urandom, pwgen, and Python. Choose hex, Base64, URL-safe tokens, or passphrases.

How to Install Java on Ubuntu 26.04
Install OpenJDK 25, the Ubuntu 26.04 default, or Oracle JDK 25 and 27. Also covers other OpenJDK versions, switching between them, and JAVA_HOME.

apt vs apt-get: The Difference and When to Use Each
apt and apt-get are not the same tool: apt is built for interactive terminal use, apt-get for scripts and automation. Compare their commands and see when to use each.

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.




