Skip to main content

Cheatsheets

Cheatsheets are compact, copy-paste friendly references for common Linux commands and tools, so you can find syntax, options, and examples quickly.

May 2, 2026

netstat Cheatsheet

Quick reference for listing network connections, listening ports, routes, interface counters, and protocol statistics with netstat

May 1, 2026

Netcat Cheatsheet

Quick reference for using the Netcat nc command to test ports, listen for connections, transfer files, and send raw network requests

Apr 21, 2026

timedatectl Cheatsheet

Quick reference for checking time status, changing time zones, controlling NTP sync, and setting the system clock with timedatectl

Jun 21, 2026

PostgreSQL Cheatsheet

Quick reference for connecting to PostgreSQL, managing databases and roles, granting privileges, and running backup commands.

Apr 13, 2026

du Cheatsheet

Quick reference for the du command: check directory sizes, human-readable output, depth limits, sorting by size, exclusions, and apparent size.

Apr 11, 2026

nslookup Cheatsheet

Quick reference for querying DNS records and checking name resolution with nslookup

Apr 7, 2026

tail Cheatsheet

Quick reference for viewing the end of files, following logs, and using tail with lines, bytes, and pipelines in Linux

Apr 6, 2026

htop Cheatsheet

Quick reference for monitoring processes, sorting tasks, filtering output, and managing processes with htop in Linux

Apr 1, 2026

lsof Cheatsheet

Quick reference for finding open files, processes, ports, and deleted files with lsof in Linux

Mar 28, 2026

fsck Cheatsheet

Quick reference for fsck: check Linux filesystems, run safe repairs, force checks, review exit codes, and handle boot-time recovery

Mar 25, 2026

firewalld Cheatsheet

Quick reference for managing firewall rules with firewalld on Linux

Aug 28, 2026

df Cheatsheet

Quick reference for the df command: check disk space, display formats, filesystem filtering, inodes, and custom output fields

Mar 19, 2026

top Cheatsheet

Quick reference for monitoring processes, CPU, and memory usage with top in Linux

Mar 18, 2026

diff Cheatsheet

Quick reference for the diff command: compare files, output formats, filtering, and patch workflow

Mar 16, 2026

export Cheatsheet

Quick reference for exporting shell variables and functions to child processes with export in Bash

Mar 15, 2026

env Cheatsheet

Quick reference for listing, clearing, and overriding environment variables with env in Linux

Mar 14, 2026

Python Cheatsheet

Quick reference for Python 3 syntax, data types, string and list methods, control flow, functions, file I/O, and exception handling.

Mar 13, 2026

kill Cheatsheet

Quick reference for sending signals to processes by PID with kill and killall in Linux

Mar 12, 2026

watch Cheatsheet

Quick reference for rerunning commands at intervals and monitoring output changes with watch in Linux

Mar 11, 2026

tcpdump Cheatsheet

Quick reference for capturing and filtering network packets with tcpdump in Linux

Mar 10, 2026

su Cheatsheet

Quick reference for switching users and running commands with su in Linux

Mar 9, 2026

ping Cheatsheet

Quick reference for testing network reachability and latency with ping in Linux

Mar 8, 2026

xargs Cheatsheet

Quick reference for building commands from standard input with xargs in Linux

Aug 30, 2026

wc Cheatsheet

Quick reference for counting lines, words, bytes, characters, and longest line length with wc in Linux

Mar 6, 2026

useradd Cheatsheet

Quick reference for creating Linux users with useradd, including home directories, shells, groups, and account policies

Mar 5, 2026

less Cheatsheet

Quick reference for navigating, searching, and controlling output with the less pager in Linux

Mar 4, 2026

pkill Cheatsheet

Quick reference for finding and terminating processes by name, user, and pattern with pkill in Linux

Mar 3, 2026

ln Cheatsheet

Quick reference for creating hard links and symbolic links with ln in Linux

Mar 1, 2026

tee Cheatsheet

Quick reference for splitting command output to terminal and files with tee in Linux

Mar 1, 2026

gzip Cheatsheet

Quick reference for compressing, listing, testing, and decompressing files with gzip and gunzip in Linux