A

~/commands

My personal cheat sheets for Linux, Docker, Git, and system administration. No more Googling the same flags twice.

$grep
Tools2025-12-12

Advanced Tar Operations

Advanced tar archive operations, compression, and extraction techniques.

tar
archive
compression
View Source
System2025-12-11

DU Disk Usage Analysis

Analyze disk usage with du and ncdu commands.

du
ncdu
disk
View Source
Tools2025-12-10

File & Stat Commands

Determine file types and view detailed file information with file and stat.

file
stat
metadata
View Source
Tools2025-12-09

WC Word Count

Count lines, words, and characters with wc command.

wc
count
statistics
View Source
Tools2025-12-08

Sort & Uniq Data Processing

Sort and remove duplicates with sort and uniq commands.

sort
uniq
processing
View Source
Tools2025-12-07

Head & Tail File Viewing

View beginning and end of files with head and tail commands.

head
tail
viewing
View Source
Tools2025-12-06

Source & Dot Command

Execute scripts in current shell with source and dot (.) commands.

source
dot
shell
View Source
Tools2025-12-05

Environment Variables Management

View, set, and manage environment variables with env, printenv, export.

env
printenv
export
View Source
System2025-12-04

Uptime, W & Who Commands

Check system uptime and logged-in users with uptime, w, and who.

uptime
w
who
View Source
System2025-12-03

Hostname & System Identity

View and configure system hostname with hostname and hostnamectl.

hostname
hostnamectl
system
View Source
System2025-12-02

Killall & Pkill Process Control

Kill processes by name with killall and pkill commands.

killall
pkill
process
View Source
Tools2025-12-01

Which, Whereis & Type Commands

Locate commands and executables with which, whereis, and type.

which
whereis
type
View Source
Tools2025-11-30

Alias Custom Commands

Create command shortcuts and aliases in bash and zsh.

alias
bash
zsh
View Source
Tools2025-11-29

History & Command Recall

Navigate, search, and reuse command history efficiently.

history
bash
shell
View Source
Tools2025-11-28

Tree Directory Visualization

Display directory structure in tree format with tree command.

tree
directory
visualization
View Source
Tools2025-11-27

Symlink & Hardlink Files

Create and manage symbolic and hard links with ln command.

ln
symlink
hardlink
View Source
Tools2025-11-26

Watch Command Monitor

Execute commands repeatedly and watch output changes with watch.

watch
monitoring
periodic
View Source
Tools2025-11-24

ZIP & Unzip Archives

Create, extract, and manage ZIP archives.

zip
unzip
compression
View Source
Tools2025-11-23

Midnight Commander File Manager

Navigate and manage files with Midnight Commander (mc) text-based interface.

mc
midnight-commander
filemanager
View Source
Network2025-11-22

Iperf Network Performance

Test network bandwidth and performance with iperf3.

iperf
network
bandwidth
View Source
System2025-11-21

Rsnapshot Incremental Backups

Automated filesystem snapshots with rsnapshot using rsync.

rsnapshot
backup
rsync
View Source
System2025-11-20

GRUB Bootloader Management

Configure and troubleshoot GRUB bootloader.

grub
boot
bootloader
View Source
Tools2025-11-19

Python Virtual Environments

Manage isolated Python environments with venv, virtualenv, and conda.

python
venv
virtualenv
View Source
Network2025-11-18

SMB/CIFS Windows Shares

Mount and access Windows/Samba shares on Linux with SMB/CIFS.

smb
cifs
samba
View Source
Network2025-11-17

NFS Mount & Share

Configure and mount NFS network file shares.

nfs
mount
network
View Source
System2025-11-16

System Information Commands

Get detailed hardware and system information with dmidecode, lshw, and more.

system-info
hardware
dmidecode
View Source
System2025-11-15

Free & VM Memory Analysis

Analyze system memory usage with free, vmstat, and memory tools.

memory
free
vmstat
View Source
System2025-11-14

Nice & Renice Process Priority

Manage process priority and CPU scheduling with nice and renice.

nice
renice
priority
View Source
Tools2025-11-13

Locate & UpdateDB File Search

Fast file searching with locate database and updatedb.

locate
updatedb
search
View Source
Tools2025-11-12

Cut, Paste & Column Text Processing

Process columnar data with cut, paste, and column commands.

cut
paste
column
View Source
Tools2025-11-11

Date & Time Manipulation

Work with dates, times, and timestamps using date and various utilities.

date
time
datetime
View Source
DevOps2025-11-10

Podman Container Management

Docker-compatible container management without daemon using Podman.

podman
containers
docker
View Source
Tools2025-11-09

Asciinema Terminal Recording

Record and share terminal sessions with asciinema.

asciinema
recording
terminal
View Source
System2025-11-08

Crontab Advanced

Advanced cron job scheduling, debugging, and best practices.

cron
scheduling
automation
View Source
Network2025-11-07

Network Troubleshooting Workflow

Systematic approach to debugging network connectivity issues.

networking
troubleshooting
debugging
View Source
System2025-11-06

Systemd Unit Files

Create and manage custom systemd service unit files.

systemd
services
linux
View Source
Tools2025-11-05

Regex Testing & Patterns

Test and debug regular expressions with common patterns and tools.

regex
patterns
text
View Source
Tools2025-11-04

Environment Modules

Manage software environment with module system for version control.

modules
environment
software
View Source
System2025-11-03

Chroot Jail Environment

Create isolated chroot environments for testing and security.

chroot
security
isolation
View Source
Network2025-11-02

Curl Advanced Techniques

Advanced curl usage for API testing, debugging, and automation.

curl
http
api
View Source
Tools2025-11-01

Nano Text Editor Basics

Essential nano editor commands for quick file editing.

nano
editor
text
View Source
System2025-10-31

RAID Management with mdadm

Manage software RAID arrays with mdadm for data redundancy.

raid
mdadm
storage
View Source
System2025-10-30

LVM Logical Volume Manager

Manage logical volumes with LVM for flexible disk management.

lvm
storage
disk
View Source
Tools2025-10-29

Bash Debugging

Debug bash scripts with set options, traps, and shellcheck.

bash
debugging
scripting
View Source
Tools2025-10-28

Shell Scripting Basics

Essential bash scripting syntax, variables, and control structures.

bash
scripting
shell
View Source
Tools2025-10-27

Diff & File Comparison

Compare files and directories with diff, comm, and cmp.

diff
comparison
tools
View Source
Git2025-10-26

Git Rebase Interactive

Rewrite Git history with interactive rebase.

git
rebase
workflow
View Source
Git2025-10-25

Git Stash Management

Save and manage uncommitted changes with git stash.

git
stash
workflow
View Source
Network2025-10-24

SSH Configuration

Configure SSH client settings, keys, and connection options.

ssh
config
security
View Source
System2025-10-23

YUM & DNF Package Management

Manage packages on RHEL/CentOS/Fedora with yum and dnf.

yum
dnf
rhel
View Source
System2025-10-22

APT Package Management

Manage packages on Debian/Ubuntu systems with apt and dpkg.

apt
dpkg
ubuntu
View Source
Tools2025-10-21

FFmpeg Media Processing

Convert, compress, and manipulate video and audio files with FFmpeg.

ffmpeg
video
audio
View Source
System2025-10-20

Perf Performance Analysis

CPU profiling, performance analysis, and hotspot detection with perf.

perf
profiling
performance
View Source
Network2025-10-19

TC Traffic Control

Manage network traffic shaping, bandwidth limiting, and QoS with tc.

tc
qos
networking
View Source
Network2025-10-18

Ethtool Network Interface

Configure and query network interface settings with ethtool.

ethtool
networking
performance
View Source
System2025-10-17

Iostat & SAR System Statistics

Monitor CPU, disk I/O, and system performance metrics.

iostat
sar
performance
View Source
Network2025-10-16

Socat Network Swiss Army Knife

Advanced network relay and debugging with socat.

socat
networking
debugging
View Source
Network2025-10-15

Dig DNS Debugging

Query DNS servers and troubleshoot DNS issues with dig.

dig
dns
networking
View Source
System2025-10-14

DD Disk Operations

Low-level disk operations, cloning, and imaging with dd command.

dd
disk
backup
View Source
Security2025-10-13

Firewalld Advanced Firewall

Manage firewall zones and rules with firewalld on RHEL/CentOS systems.

firewalld
firewall
security
View Source
Network2025-10-12

SCP & SFTP File Transfer

Securely transfer files between systems with SCP and SFTP.

scp
sftp
ssh
View Source
Tools2025-10-11

GNU Parallel Command Execution

Execute commands in parallel for maximum performance with GNU Parallel.

parallel
performance
bash
View Source
Tools2025-10-10

Grep Advanced Patterns

Master regular expressions and advanced grep techniques.

grep
regex
text-processing
View Source
DevOps2025-10-09

Helm Kubernetes Package Manager

Deploy and manage Kubernetes applications with Helm charts.

helm
kubernetes
k8s
View Source
DevOps2025-10-08

Terraform Infrastructure as Code

Manage cloud infrastructure with Terraform commands.

terraform
iac
cloud
View Source
Security2025-10-07

Certbot Let's Encrypt SSL

Automate SSL certificate management with Certbot and Let's Encrypt.

certbot
ssl
letsencrypt
View Source
System2025-10-06

Logrotate Log Management

Automatic log file rotation, compression, and cleanup with logrotate.

logrotate
logs
maintenance
View Source
Security2025-10-05

Fail2ban Intrusion Prevention

Protect your server from brute-force attacks with fail2ban.

fail2ban
security
ssh
View Source
System2025-10-04

Htop Advanced Process Viewer

Interactive process monitoring with htop - advanced tips and shortcuts.

htop
monitoring
performance
View Source
Security2025-10-03

Nmap Network Scanner

Network discovery and security auditing with nmap.

nmap
security
networking
View Source
System2025-10-02

Systemd-analyze Boot Performance

Analyze system boot time and service startup performance.

systemd
performance
linux
View Source
Security2025-10-01

IPtables Firewall Rules

Configure Linux firewall rules with iptables.

iptables
firewall
security
View Source
Tools2025-09-30

Xargs Command Builder

Build and execute commands from standard input with xargs.

xargs
pipes
linux
View Source
Tools2025-09-29

Make & Makefiles

Automate build tasks and workflows with GNU Make.

make
build
automation
View Source
DevOps2025-09-28

AWS CLI Essentials

Manage AWS resources from the command line with aws cli.

aws
cloud
cli
View Source
Git2025-09-27

GitHub CLI (gh)

Manage GitHub repositories, issues, and PRs from the command line.

github
git
cli
View Source
Database2025-09-26

Redis CLI Commands

Interact with Redis database using redis-cli.

redis
database
cache
View Source
DevOps2025-09-25

Docker Compose Multi-Container Apps

Manage multi-container Docker applications with docker-compose.

docker-compose
docker
containers
View Source
Tools2025-09-24

Jq JSON Processor

Parse, filter, and transform JSON data with jq command-line tool.

jq
json
data-processing
View Source
Network2025-09-23

Tcpdump Packet Capture

Capture and analyze network packets with tcpdump.

tcpdump
networking
debugging
View Source
Network2025-09-22

Netcat (nc) Network Swiss Army Knife

Test TCP/UDP connections, port scanning, and data transfer with netcat.

netcat
networking
debugging
View Source
DevOps2025-09-21

Ansible Basics

Run commands and deploy configurations with Ansible automation.

ansible
automation
devops
View Source
System2025-09-20

Strace System Call Tracer

Debug programs by tracing system calls and signals with strace.

strace
debugging
linux
View Source
System2025-09-19

Lsof - List Open Files

Inspect open files, network connections, and processes with lsof.

lsof
debugging
linux
View Source
System2025-09-18

Systemd Timers (Cron Alternative)

Schedule tasks with systemd timers instead of cron jobs.

systemd
timers
automation
View Source
Network2025-09-17

Wget & Curl Download Tools

Download files, test APIs, and make HTTP requests with wget and curl.

wget
curl
networking
View Source
System2025-09-16

User & Group Management

Create, modify, and delete users and groups in Linux.

users
groups
linux
View Source
Security2025-09-15

UFW Firewall Management

Simple firewall configuration with Uncomplicated Firewall (UFW).

ufw
firewall
security
View Source
Security2025-09-14

OpenSSL Certificate Management

Generate SSL certificates, keys, and troubleshoot TLS connections.

openssl
ssl
security
View Source
System2025-09-13

Compression & Archives

zip, gzip, bzip2, and other compression tools for files and directories.

compression
zip
linux
View Source
Tools2025-09-12

Screen Terminal Multiplexer

GNU Screen commands for managing persistent terminal sessions.

screen
terminal
productivity
View Source
Tools2025-09-11

Bash Environment & Aliases

Manage environment variables, PATH, and create useful bash aliases.

bash
shell
productivity
View Source
Database2025-09-10

MySQL Command Line

Essential MySQL CLI commands for database administration.

mysql
database
sql
View Source
Database2025-09-09

PostgreSQL Command Line

Essential psql commands for database management and queries.

postgresql
database
sql
View Source
System2025-09-08

Journalctl Log Viewing

Query and analyze systemd journal logs with journalctl.

journalctl
logs
linux
View Source
DevOps2025-09-07

Nginx Configuration Essentials

Common nginx commands and configuration snippets.

nginx
web-server
devops
View Source
Tools2025-09-06

Tmux Terminal Multiplexer

Manage multiple terminal sessions with tmux.

tmux
terminal
productivity
View Source
System2025-09-05

Cron Job Scheduling

Schedule automated tasks with cron jobs and crontab.

cron
automation
linux
View Source
Tools2025-09-04

Awk Text Processing

Pattern scanning and processing with awk for logs and CSVs.

awk
text-processing
linux
View Source
Tools2025-09-03

Sed Stream Editor Basics

Text manipulation and find-replace operations with sed.

sed
text-processing
linux
View Source
System2025-09-02

Rsync File Sync Mastery

Efficiently copy and sync files locally or over SSH with rsync.

rsync
backup
linux
View Source
System2025-09-01

Systemctl Service Management

Manage systemd services: start, stop, restart, and troubleshoot.

systemd
linux
services
View Source
DevOps2025-08-31

NPM & Yarn Command Guide

Common package manager commands for Node.js projects.

npm
yarn
nodejs
View Source
DevOps2025-08-30

Kubectl Essential Commands

Kubernetes kubectl commands for managing pods, deployments, and services.

kubernetes
kubectl
devops
View Source
Tools2025-08-29

Vim Survival Guide

Essential Vim commands to edit files without panic-quitting.

vim
editor
cli
View Source
System2025-08-28

Disk Space Management

df, du, and ncdu commands to analyze and free up disk space.

linux
disk
storage
View Source
System2025-08-27

File Permissions Master Guide

chmod, chown, and Linux permission management made simple.

linux
permissions
security
View Source
Network2025-08-26

Network Debugging Toolkit

Essential networking commands: curl, netstat, ss, ping, and traceroute.

networking
debugging
linux
View Source
System2025-08-25

Process Management Essentials

Monitor, kill, and manage Linux processes with ps, top, htop, and kill.

linux
processes
monitoring
View Source
System2025-08-24

Find & Grep Power User Guide

Advanced find and grep commands for searching files and content like a pro.

linux
cli
search
View Source
Network2025-08-23

SSH Tunneling & Port Forwarding

Essential SSH commands for remote access, tunneling, and secure port forwarding.

ssh
security
networking
View Source
Git2025-08-22

Git Undo Cheat Sheet

How to undo mistakes in Git at various stages.

git
version-control
View Source
DevOps2025-08-21

Docker Cleanup One-Liners

Quick commands to reclaim disk space from unused Docker resources.

docker
devops
cleanup
View Source
System2025-08-20

Tar Archiving Masters

Essential tar commands for compressing and extracting files without looking up the man page.

linux
cli
compression
View Source
System202-11-25

At & Batch Job Scheduling

Schedule one-time tasks with at and batch commands.

at
batch
scheduling
View Source