Category

Linux and DevOps Cheat Sheets

Quick reference cheat sheets for Linux commands, Git, Docker, and DevOps tools to help you perform tasks faster.

The Cheat Sheets section provides quick reference guides for commonly used commands and tools.

These guides are designed to help you quickly recall commands without going through detailed tutorials.

Explore related sections like Linux and DevOps for deeper learning.

108 articles

Cheat sheets category illustration with quick command reference cards and examples
cheatsheet

How to Extend an LVM Logical Volume with lvextend

Use lvextend to grow a Linux logical volume: pre-checks, size syntax (-L and -l), grow ext4 with resize2fs or XFS with xfs_growfs, post-checks, and what to do when the volume group is full.

Rohan Timalsina9 min read
cheatsheet

20 netstat command examples in Linux [Cheat Sheet]

netstat command in Linux is used to get the list of listening TCP and UDP sockets. Get the list of ESTABLISHED, TIME_WAIT, LISTEN sockets with program name. Get the routing information.

Rohan Timalsina10 min read
cheatsheet

How to limit CPU using cgroups (v2 and v1) on Linux

How to cap CPU with Linux cgroups: cgroup v2 cpu.max and cpu.stat, cgroup v1 cfs quota files, systemd CPUQuota and CPUWeight, shared limits with systemd slices, optional CPUQuotaPeriodSec, plus how this differs from …

Deepak Prasad14 min read
cheatsheet

Pacman Command in Arch Linux: Install, Update, Remove & Examples (2026 Guide)

Learn how to use pacman command in Arch Linux with practical examples and cheat sheet. Install, update, remove packages, and understand pacman usage for efficient package management.

Deepak Prasad5 min read
cheatsheet

Paste Command in Linux: Examples, Use Cases & Cheat Sheet (2026 Guide)

Learn how to use the paste command in Linux with practical examples and real-world use cases. Understand how to merge files, use delimiters, and compare paste vs copy-paste in terminal with a quick cheat sheet.

Deepak Prasad4 min read
cheatsheet

ip Command in Linux: Add IP, Configure Routes & Network Interfaces (Examples)

Learn how to use the ip command in Linux with practical examples. Add IP addresses, configure routes, manage interfaces, and troubleshoot network issues using ip addr, ip link, and ip route.

Deepak Prasad5 min read
cheatsheet

How to Use lbzip2 on Linux

Learn how to use lbzip2 command in Linux with practical examples. Install lbzip2 on Ubuntu, compress/decompress files, use multithreading, and fix common errors like tar lbzip2 not found.

Deepak Prasad4 min read
cheatsheet

wget Command in Linux (Syntax, Examples, Cheat Sheet + Interview Questions)

Master the wget command in Linux with syntax, examples, options, and a quick cheat sheet. Includes real-world use cases and wget interview questions for quick revision.

Deepak Prasad8 min read
cheatsheet

100+ Linux Commands Cheat Sheet (With Practical Examples)

A complete Linux commands cheat sheet with 100+ essential commands and practical examples. Learn file management, system monitoring, networking, permissions, and DevOps-related Linux commands used by administrators, …

Deepak Prasad13 min read
cheatsheet

40+ grep Pattern Matching Examples in Linux (Regex, OR, Pattern File)

Learn advanced grep pattern matching in Linux with practical examples. This guide covers grep regex examples, OR conditions, pattern files, matching words before or after patterns, extracting data using regex, and many …

Rohan Timalsina10 min read
cheatsheet

locate Command in Linux: Cheat Sheet, Syntax & Examples (vs find)

Learn how to use locate command in Linux with cheat sheet, syntax, and practical examples. Understand how locate works, install it on Ubuntu and CentOS, and compare locate vs find command for faster file search.

Rohan Timalsina5 min read
cheatsheet

sudo Command in Linux: Cheat Sheet, Syntax & 15+ Practical Examples

Learn how to use sudo command in Linux with cheat sheet, syntax, and 15+ real-world examples. Understand sudoers configuration, run commands as root or another user, and fix common sudo errors.

Rohan Timalsina5 min read
cheatsheet

PSSH Command in Linux: Parallel SSH Examples, Syntax & Cheat Sheet

Learn how to use PSSH (Parallel SSH) in Linux with 15+ practical command examples. Execute commands on multiple servers, control parallel execution, capture output, transfer files, and run PSSH without password using SSH …

Deepak Prasad8 min read
cheatsheet

nmcli Command in Linux: Network Configuration, IP, DNS, Routing & Examples (RHEL/CentOS/Ubuntu)

Learn the nmcli command in Linux with syntax, options, and practical examples. Configure IP address (IPv4/IPv6), DNS, routing, hostname, bonding, bridging, and NetworkManager connections using nmcli on RHEL, CentOS, and …

Rohan Timalsina19 min read
cheatsheet

Nmap Command in Linux: 30+ Nmap Command Examples and Cheat Sheet

Learn the Nmap command in Linux with 30+ practical examples and a quick cheat sheet. This guide explains how to perform host discovery, port scanning, service detection, OS detection, firewall detection, and network …

Rohan Timalsina15 min read
cheatsheet

grubby Command in Linux: Syntax, Options & Practical Examples

Learn how to use the grubby command in Linux with syntax, options, and practical examples. This guide explains how to list installed kernels, change the default kernel, add or remove kernel boot arguments, and manage …

Deepak Prasad12 min read
cheatsheet

ipcs Command in Linux: Syntax, Options, Cheat Sheet & IPC Monitoring Examples

Learn how to use the ipcs command in Linux with syntax, options, cheat sheet, and practical examples. This guide explains how to view shared memory segments, message queues, and semaphore arrays, inspect IPC resources, …

Rohan Timalsina14 min read
cheatsheet

ip route Command in Linux: Syntax, Examples, Cheat Sheet & Routing Guide

Learn how to use the ip route command in Linux with syntax, cheat sheet, and practical examples. This guide explains how to view routing tables, add and delete routes, configure multiple gateways, troubleshoot routing …

Rohan Timalsina17 min read
cheatsheet

iotop Command in Linux: Syntax, Options, Cheat Sheet & Practical Examples

Learn how to use the iotop command in Linux with syntax, options, cheat sheet, and practical examples. This guide explains how to monitor disk I/O usage by processes, identify applications causing high disk activity, and …

Rohan Timalsina15 min read
cheatsheet

hping3 Command in Linux: Syntax, Options, Cheat Sheet & Practical Examples

Learn how to use the hping3 command in Linux with syntax, options, cheat sheet, and practical examples. This guide explains how to perform packet crafting, port scanning, firewall testing, traceroute analysis, and …

Rohan Timalsina22 min read
cheatsheet

groupadd Command in Linux: Syntax, Options & Practical Examples

Learn how to use the groupadd command in Linux with syntax, options, and practical examples. This guide explains how to create groups, assign custom GIDs, create system groups, manage users in groups, and troubleshoot …

Rohan Timalsina10 min read
cheatsheet

iostat Command in Linux Explained: Syntax, Options, Cheat Sheet & Practical Examples

Learn how to use the iostat command in Linux with syntax, options, cheat sheet, and practical examples. This guide explains how to monitor CPU utilization, disk I/O performance, device throughput, and storage bottlenecks …

Rohan Timalsina16 min read
cheatsheet

HPE iLO 4 & 5 CLI Commands Cheat Sheet (SSH Command Line Guide)

Learn the most useful HPE iLO CLI commands with this practical cheat sheet. This guide explains how to access the iLO command line using SSH or Onboard Administrator (OA) and run common commands to manage users, network …

Deepak Prasad14 min read
cheatsheet

grep Recursive Search in Linux (Examples, Include/Exclude, Multiple Patterns)

Learn how to perform grep recursive search in Linux with practical examples. This guide covers recursive grep commands, searching directories and subdirectories, including or excluding files, following symbolic links, …

Deepak Prasad10 min read
cheatsheet

find Command in Linux: Complete Cheat Sheet with 25+ Examples

Learn how to use the find command in Linux with this complete cheat sheet. This guide covers find command syntax, commonly used flags, and practical examples for searching files by name, extension, size, permissions, …

Rohan Timalsina11 min read
cheatsheet

elinks Command in Linux: Browse Websites and Extract Text from HTML

Learn how to use the elinks command in Linux to browse websites from the terminal and extract text from HTML pages. This practical cheat sheet covers elinks examples including browsing websites in text mode, using the …

Rohan Timalsina12 min read
cheatsheet

firewalld Cheat Sheet: firewall-cmd Rules, Commands and Examples

Learn the most important firewalld commands using this firewall-cmd cheat sheet. This guide covers common firewalld rules, listing firewall rules, managing zones, adding ports and services, configuring rich rules, and …

Deepak Prasad15 min read
cheatsheet

finger Command in Linux (User Information Lookup) [Cheat Sheet]

Learn how to use the finger command in Linux to display user account information such as login name, terminal, idle time, home directory, and shell. This cheat sheet includes practical examples for checking logged-in …

Rohan Timalsina11 min read
cheatsheet

journalctl Command in Linux: View, Filter, and Troubleshoot System Logs

Learn how to use the journalctl command in Linux to view, filter, and troubleshoot systemd logs. This practical cheat sheet covers journalctl examples for viewing logs, following logs in real time, filtering by service, …

Rohan Timalsina16 min read
cheatsheet

dumpe2fs Command in Linux (ext4 Superblock & Recovery Guide)

Learn how to use the dumpe2fs command in Linux to inspect ext2, ext3, and ext4 superblock information, view backup superblocks, check inode and block details, and recover corrupted filesystems with practical examples.

Rohan Timalsina7 min read