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

How to Add User to Sudoers in Debian
Grant sudo privileges in Debian by adding a user to the sudo group or configuring a custom sudoers rule with visudo. Covers Debian 12 and 13.

Uptime Command in Linux
The uptime command shows how long a Linux system has been running, the number of logged-in users, and the load averages for the last 1, 5, and 15 minutes.

How to Deploy a Node.js Application on Ubuntu 26.04
Deploy a Node.js application on Ubuntu 26.04 using PM2 as the process manager and Nginx as a reverse proxy, with a Let's Encrypt TLS certificate.

How to Connect to MySQL through SSH Tunnel
Securely connect to a remote MySQL or MariaDB server over an SSH tunnel with local port forwarding, with steps for Linux, macOS, and Windows (PuTTY).

Bash Array Operations: Length, Search, Slice, and Reverse
Practical Bash array operations for checking length, finding values, slicing, reversing, iterating, appending, prepending, and removing elements.

pnpm Command: Install and Manage Node.js Packages
This pnpm command guide covers installation, project setup, dependency management, scripts, lockfiles, npm migration, and workspace filtering.

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




