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

Fix SSH "Too Many Authentication Failures" Error
Fix SSH 'Too many authentication failures' by selecting the right key with IdentitiesOnly, skipping keys for password login, and checking MaxAuthTries.

How to Change a Git Remote's URL
Change a Git remote URL with git remote set-url, switch between HTTPS and SSH, set separate push and fetch URLs, and verify the change.

Python Switch Case Statement (match-case)
Learn how to use Python's match-case statement (structural pattern matching) as a switch-case equivalent. Covers if-elif-else, dictionary lookup, and match-case with examples.

Fix "npm ERR! Missing Script: dev"
npm run dev fails with 'Missing script: dev' when package.json has no dev key. Find the script the project actually uses, or add one that starts its dev server.

git diff Command: Compare Changes Between Commits and Branches
Use git diff to compare your working directory, staged files, commits, and branches, with practical examples of the options you will use most.

Fix Nginx "Request Header or Cookie Too Large" Error
Resolve Nginx's 400 Request Header or Cookie Too Large error: clear site cookies, adjust large_client_header_buffers, and check the active configuration.

jobs Command in Linux: List and Manage Background Jobs
The jobs command lists background and suspended processes in the current shell session. This guide covers syntax, options, job specifications, and practical examples.

How to Check Java Version
Find out which Java version is installed on your system, check the JDK compiler version, and manage multiple Java installations from the command line.

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.




