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
Python Tuples: Create, Access, Slice, and Unpack
Work with Python tuples: how to create, access, slice, unpack, and loop over them, plus how tuples differ from lists and when to use each.

How to Undo Last Git Commit
Undo the last Git commit with git reset or git revert, and pick the right option to keep your changes, discard them, or safely undo a pushed commit.

hostnamectl Command in Linux: Set and Query Hostname
Use hostnamectl to view and change the Linux hostname. Covers static, transient, and pretty names, system metadata, remote hosts, and common errors.

How to Setup a Git Server
Run your own private Git server over SSH on Linux. This guide covers installing Git, creating the git user, adding SSH keys, and pushing your first repository.

How to Change Root Password in Ubuntu Linux
Set or change the root password on Ubuntu using sudo passwd, switch to the root account, and understand why root login is disabled by default.

host Command in Linux: DNS Lookup
The host command is a simple DNS lookup tool. This guide covers forward and reverse lookups, querying specific record types, using a chosen name server, and reading the output.

IPv4 vs IPv6: Differences Explained
IPv4 and IPv6 are the two versions of the Internet Protocol. This guide explains how they differ in addressing, header format, and features, with a side-by-side comparison.

pidof Command in Linux: Find Process IDs by Name
The pidof command finds the process ID (PID) of a running program by name. This guide explains how to use pidof, its options, and how to pair it with kill to manage processes.

Linux Pipes Explained: How to Use the | Operator
Linux pipes connect command output to another command's input. Learn the | operator, pipefail, stderr piping, xargs, named pipes, and process substitution.

Linux Time Command
This guide shows how to use the Linux time command to measure execution time, explains real/user/sys, and covers Bash, Zsh, and GNU time.

Series
Cheatsheets
dig Cheatsheet
Quick reference for querying DNS records, tracing resolution, and debugging name resolution with dig
Ansible Cheatsheet
Quick reference for Ansible commands, inventories, playbooks, modules, and vault
OpenSSL Cheatsheet
Quick reference for OpenSSL commands for keys, CSRs, certificates, format conversion, TLS testing, random data, and hashes
npm Cheatsheet
Quick reference for npm commands for project setup, dependency management, scripts, updates, and package inspection




