A
terminal

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

tag tar
tag archive
tag compression
keyboard_command_key View Sourcechevron_right
System2025-12-11

DU Disk Usage Analysis

Analyze disk usage with du and ncdu commands.

tag du
tag ncdu
tag disk
keyboard_command_key View Sourcechevron_right
Tools2025-12-10

File & Stat Commands

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

tag file
tag stat
tag metadata
keyboard_command_key View Sourcechevron_right
Tools2025-12-09

WC Word Count

Count lines, words, and characters with wc command.

tag wc
tag count
tag statistics
keyboard_command_key View Sourcechevron_right
Tools2025-12-08

Sort & Uniq Data Processing

Sort and remove duplicates with sort and uniq commands.

tag sort
tag uniq
tag processing
keyboard_command_key View Sourcechevron_right
Tools2025-12-07

Head & Tail File Viewing

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

tag head
tag tail
tag viewing
keyboard_command_key View Sourcechevron_right
Tools2025-12-06

Source & Dot Command

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

tag source
tag dot
tag shell
keyboard_command_key View Sourcechevron_right
Tools2025-12-05

Environment Variables Management

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

tag env
tag printenv
tag export
keyboard_command_key View Sourcechevron_right
System2025-12-04

Uptime, W & Who Commands

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

tag uptime
tag w
tag who
keyboard_command_key View Sourcechevron_right
System2025-12-03

Hostname & System Identity

View and configure system hostname with hostname and hostnamectl.

tag hostname
tag hostnamectl
tag system
keyboard_command_key View Sourcechevron_right
System2025-12-02

Killall & Pkill Process Control

Kill processes by name with killall and pkill commands.

tag killall
tag pkill
tag process
keyboard_command_key View Sourcechevron_right
Tools2025-12-01

Which, Whereis & Type Commands

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

tag which
tag whereis
tag type
keyboard_command_key View Sourcechevron_right
Tools2025-11-30

Alias Custom Commands

Create command shortcuts and aliases in bash and zsh.

tag alias
tag bash
tag zsh
keyboard_command_key View Sourcechevron_right
Tools2025-11-29

History & Command Recall

Navigate, search, and reuse command history efficiently.

tag history
tag bash
tag shell
keyboard_command_key View Sourcechevron_right
Tools2025-11-28

Tree Directory Visualization

Display directory structure in tree format with tree command.

tag tree
tag directory
tag visualization
keyboard_command_key View Sourcechevron_right
Tools2025-11-27

Symlink & Hardlink Files

Create and manage symbolic and hard links with ln command.

tag ln
tag symlink
tag hardlink
keyboard_command_key View Sourcechevron_right
Tools2025-11-26

Watch Command Monitor

Execute commands repeatedly and watch output changes with watch.

tag watch
tag monitoring
tag periodic
keyboard_command_key View Sourcechevron_right
Tools2025-11-24

ZIP & Unzip Archives

Create, extract, and manage ZIP archives.

tag zip
tag unzip
tag compression
keyboard_command_key View Sourcechevron_right
Tools2025-11-23

Midnight Commander File Manager

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

tag mc
tag midnight-commander
tag filemanager
keyboard_command_key View Sourcechevron_right
Network2025-11-22

Iperf Network Performance

Test network bandwidth and performance with iperf3.

tag iperf
tag network
tag bandwidth
keyboard_command_key View Sourcechevron_right
System2025-11-21

Rsnapshot Incremental Backups

Automated filesystem snapshots with rsnapshot using rsync.

tag rsnapshot
tag backup
tag rsync
keyboard_command_key View Sourcechevron_right
System2025-11-20

GRUB Bootloader Management

Configure and troubleshoot GRUB bootloader.

tag grub
tag boot
tag bootloader
keyboard_command_key View Sourcechevron_right
Tools2025-11-19

Python Virtual Environments

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

tag python
tag venv
tag virtualenv
keyboard_command_key View Sourcechevron_right
Network2025-11-18

SMB/CIFS Windows Shares

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

tag smb
tag cifs
tag samba
keyboard_command_key View Sourcechevron_right
Network2025-11-17

NFS Mount & Share

Configure and mount NFS network file shares.

tag nfs
tag mount
tag network
keyboard_command_key View Sourcechevron_right
System2025-11-16

System Information Commands

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

tag system-info
tag hardware
tag dmidecode
keyboard_command_key View Sourcechevron_right
System2025-11-15

Free & VM Memory Analysis

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

tag memory
tag free
tag vmstat
keyboard_command_key View Sourcechevron_right
System2025-11-14

Nice & Renice Process Priority

Manage process priority and CPU scheduling with nice and renice.

tag nice
tag renice
tag priority
keyboard_command_key View Sourcechevron_right
Tools2025-11-13

Locate & UpdateDB File Search

Fast file searching with locate database and updatedb.

tag locate
tag updatedb
tag search
keyboard_command_key View Sourcechevron_right
Tools2025-11-12

Cut, Paste & Column Text Processing

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

tag cut
tag paste
tag column
keyboard_command_key View Sourcechevron_right
Tools2025-11-11

Date & Time Manipulation

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

tag date
tag time
tag datetime
keyboard_command_key View Sourcechevron_right
DevOps2025-11-10

Podman Container Management

Docker-compatible container management without daemon using Podman.

tag podman
tag containers
tag docker
keyboard_command_key View Sourcechevron_right
Tools2025-11-09

Asciinema Terminal Recording

Record and share terminal sessions with asciinema.

tag asciinema
tag recording
tag terminal
keyboard_command_key View Sourcechevron_right
System2025-11-08

Crontab Advanced

Advanced cron job scheduling, debugging, and best practices.

tag cron
tag scheduling
tag automation
keyboard_command_key View Sourcechevron_right
Network2025-11-07

Network Troubleshooting Workflow

Systematic approach to debugging network connectivity issues.

tag networking
tag troubleshooting
tag debugging
keyboard_command_key View Sourcechevron_right
System2025-11-06

Systemd Unit Files

Create and manage custom systemd service unit files.

tag systemd
tag services
tag linux
keyboard_command_key View Sourcechevron_right
Tools2025-11-05

Regex Testing & Patterns

Test and debug regular expressions with common patterns and tools.

tag regex
tag patterns
tag text
keyboard_command_key View Sourcechevron_right
Tools2025-11-04

Environment Modules

Manage software environment with module system for version control.

tag modules
tag environment
tag software
keyboard_command_key View Sourcechevron_right
System2025-11-03

Chroot Jail Environment

Create isolated chroot environments for testing and security.

tag chroot
tag security
tag isolation
keyboard_command_key View Sourcechevron_right
Network2025-11-02

Curl Advanced Techniques

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

tag curl
tag http
tag api
keyboard_command_key View Sourcechevron_right
Tools2025-11-01

Nano Text Editor Basics

Essential nano editor commands for quick file editing.

tag nano
tag editor
tag text
keyboard_command_key View Sourcechevron_right
System2025-10-31

RAID Management with mdadm

Manage software RAID arrays with mdadm for data redundancy.

tag raid
tag mdadm
tag storage
keyboard_command_key View Sourcechevron_right
System2025-10-30

LVM Logical Volume Manager

Manage logical volumes with LVM for flexible disk management.

tag lvm
tag storage
tag disk
keyboard_command_key View Sourcechevron_right
Tools2025-10-29

Bash Debugging

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

tag bash
tag debugging
tag scripting
keyboard_command_key View Sourcechevron_right
Tools2025-10-28

Shell Scripting Basics

Essential bash scripting syntax, variables, and control structures.

tag bash
tag scripting
tag shell
keyboard_command_key View Sourcechevron_right
Tools2025-10-27

Diff & File Comparison

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

tag diff
tag comparison
tag tools
keyboard_command_key View Sourcechevron_right
Git2025-10-26

Git Rebase Interactive

Rewrite Git history with interactive rebase.

tag git
tag rebase
tag workflow
keyboard_command_key View Sourcechevron_right
Git2025-10-25

Git Stash Management

Save and manage uncommitted changes with git stash.

tag git
tag stash
tag workflow
keyboard_command_key View Sourcechevron_right
Network2025-10-24

SSH Configuration

Configure SSH client settings, keys, and connection options.

tag ssh
tag config
tag security
keyboard_command_key View Sourcechevron_right
System2025-10-23

YUM & DNF Package Management

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

tag yum
tag dnf
tag rhel
keyboard_command_key View Sourcechevron_right
System2025-10-22

APT Package Management

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

tag apt
tag dpkg
tag ubuntu
keyboard_command_key View Sourcechevron_right
Tools2025-10-21

FFmpeg Media Processing

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

tag ffmpeg
tag video
tag audio
keyboard_command_key View Sourcechevron_right
System2025-10-20

Perf Performance Analysis

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

tag perf
tag profiling
tag performance
keyboard_command_key View Sourcechevron_right
Network2025-10-19

TC Traffic Control

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

tag tc
tag qos
tag networking
keyboard_command_key View Sourcechevron_right
Network2025-10-18

Ethtool Network Interface

Configure and query network interface settings with ethtool.

tag ethtool
tag networking
tag performance
keyboard_command_key View Sourcechevron_right
System2025-10-17

Iostat & SAR System Statistics

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

tag iostat
tag sar
tag performance
keyboard_command_key View Sourcechevron_right
Network2025-10-16

Socat Network Swiss Army Knife

Advanced network relay and debugging with socat.

tag socat
tag networking
tag debugging
keyboard_command_key View Sourcechevron_right
Network2025-10-15

Dig DNS Debugging

Query DNS servers and troubleshoot DNS issues with dig.

tag dig
tag dns
tag networking
keyboard_command_key View Sourcechevron_right
System2025-10-14

DD Disk Operations

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

tag dd
tag disk
tag backup
keyboard_command_key View Sourcechevron_right
Security2025-10-13

Firewalld Advanced Firewall

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

tag firewalld
tag firewall
tag security
keyboard_command_key View Sourcechevron_right
Network2025-10-12

SCP & SFTP File Transfer

Securely transfer files between systems with SCP and SFTP.

tag scp
tag sftp
tag ssh
keyboard_command_key View Sourcechevron_right
Tools2025-10-11

GNU Parallel Command Execution

Execute commands in parallel for maximum performance with GNU Parallel.

tag parallel
tag performance
tag bash
keyboard_command_key View Sourcechevron_right
Tools2025-10-10

Grep Advanced Patterns

Master regular expressions and advanced grep techniques.

tag grep
tag regex
tag text-processing
keyboard_command_key View Sourcechevron_right
DevOps2025-10-09

Helm Kubernetes Package Manager

Deploy and manage Kubernetes applications with Helm charts.

tag helm
tag kubernetes
tag k8s
keyboard_command_key View Sourcechevron_right
DevOps2025-10-08

Terraform Infrastructure as Code

Manage cloud infrastructure with Terraform commands.

tag terraform
tag iac
tag cloud
keyboard_command_key View Sourcechevron_right
Security2025-10-07

Certbot Let's Encrypt SSL

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

tag certbot
tag ssl
tag letsencrypt
keyboard_command_key View Sourcechevron_right
System2025-10-06

Logrotate Log Management

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

tag logrotate
tag logs
tag maintenance
keyboard_command_key View Sourcechevron_right
Security2025-10-05

Fail2ban Intrusion Prevention

Protect your server from brute-force attacks with fail2ban.

tag fail2ban
tag security
tag ssh
keyboard_command_key View Sourcechevron_right
System2025-10-04

Htop Advanced Process Viewer

Interactive process monitoring with htop - advanced tips and shortcuts.

tag htop
tag monitoring
tag performance
keyboard_command_key View Sourcechevron_right
Security2025-10-03

Nmap Network Scanner

Network discovery and security auditing with nmap.

tag nmap
tag security
tag networking
keyboard_command_key View Sourcechevron_right
System2025-10-02

Systemd-analyze Boot Performance

Analyze system boot time and service startup performance.

tag systemd
tag performance
tag linux
keyboard_command_key View Sourcechevron_right
Security2025-10-01

IPtables Firewall Rules

Configure Linux firewall rules with iptables.

tag iptables
tag firewall
tag security
keyboard_command_key View Sourcechevron_right
Tools2025-09-30

Xargs Command Builder

Build and execute commands from standard input with xargs.

tag xargs
tag pipes
tag linux
keyboard_command_key View Sourcechevron_right
Tools2025-09-29

Make & Makefiles

Automate build tasks and workflows with GNU Make.

tag make
tag build
tag automation
keyboard_command_key View Sourcechevron_right
DevOps2025-09-28

AWS CLI Essentials

Manage AWS resources from the command line with aws cli.

tag aws
tag cloud
tag cli
keyboard_command_key View Sourcechevron_right
Git2025-09-27

GitHub CLI (gh)

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

tag github
tag git
tag cli
keyboard_command_key View Sourcechevron_right
Database2025-09-26

Redis CLI Commands

Interact with Redis database using redis-cli.

tag redis
tag database
tag cache
keyboard_command_key View Sourcechevron_right
DevOps2025-09-25

Docker Compose Multi-Container Apps

Manage multi-container Docker applications with docker-compose.

tag docker-compose
tag docker
tag containers
keyboard_command_key View Sourcechevron_right
Tools2025-09-24

Jq JSON Processor

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

tag jq
tag json
tag data-processing
keyboard_command_key View Sourcechevron_right
Network2025-09-23

Tcpdump Packet Capture

Capture and analyze network packets with tcpdump.

tag tcpdump
tag networking
tag debugging
keyboard_command_key View Sourcechevron_right
Network2025-09-22

Netcat (nc) Network Swiss Army Knife

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

tag netcat
tag networking
tag debugging
keyboard_command_key View Sourcechevron_right
DevOps2025-09-21

Ansible Basics

Run commands and deploy configurations with Ansible automation.

tag ansible
tag automation
tag devops
keyboard_command_key View Sourcechevron_right
System2025-09-20

Strace System Call Tracer

Debug programs by tracing system calls and signals with strace.

tag strace
tag debugging
tag linux
keyboard_command_key View Sourcechevron_right
System2025-09-19

Lsof - List Open Files

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

tag lsof
tag debugging
tag linux
keyboard_command_key View Sourcechevron_right
System2025-09-18

Systemd Timers (Cron Alternative)

Schedule tasks with systemd timers instead of cron jobs.

tag systemd
tag timers
tag automation
keyboard_command_key View Sourcechevron_right
Network2025-09-17

Wget & Curl Download Tools

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

tag wget
tag curl
tag networking
keyboard_command_key View Sourcechevron_right
System2025-09-16

User & Group Management

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

tag users
tag groups
tag linux
keyboard_command_key View Sourcechevron_right
Security2025-09-15

UFW Firewall Management

Simple firewall configuration with Uncomplicated Firewall (UFW).

tag ufw
tag firewall
tag security
keyboard_command_key View Sourcechevron_right
Security2025-09-14

OpenSSL Certificate Management

Generate SSL certificates, keys, and troubleshoot TLS connections.

tag openssl
tag ssl
tag security
keyboard_command_key View Sourcechevron_right
System2025-09-13

Compression & Archives

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

tag compression
tag zip
tag linux
keyboard_command_key View Sourcechevron_right
Tools2025-09-12

Screen Terminal Multiplexer

GNU Screen commands for managing persistent terminal sessions.

tag screen
tag terminal
tag productivity
keyboard_command_key View Sourcechevron_right
Tools2025-09-11

Bash Environment & Aliases

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

tag bash
tag shell
tag productivity
keyboard_command_key View Sourcechevron_right
Database2025-09-10

MySQL Command Line

Essential MySQL CLI commands for database administration.

tag mysql
tag database
tag sql
keyboard_command_key View Sourcechevron_right
Database2025-09-09

PostgreSQL Command Line

Essential psql commands for database management and queries.

tag postgresql
tag database
tag sql
keyboard_command_key View Sourcechevron_right
System2025-09-08

Journalctl Log Viewing

Query and analyze systemd journal logs with journalctl.

tag journalctl
tag logs
tag linux
keyboard_command_key View Sourcechevron_right
DevOps2025-09-07

Nginx Configuration Essentials

Common nginx commands and configuration snippets.

tag nginx
tag web-server
tag devops
keyboard_command_key View Sourcechevron_right
Tools2025-09-06

Tmux Terminal Multiplexer

Manage multiple terminal sessions with tmux.

tag tmux
tag terminal
tag productivity
keyboard_command_key View Sourcechevron_right
System2025-09-05

Cron Job Scheduling

Schedule automated tasks with cron jobs and crontab.

tag cron
tag automation
tag linux
keyboard_command_key View Sourcechevron_right
Tools2025-09-04

Awk Text Processing

Pattern scanning and processing with awk for logs and CSVs.

tag awk
tag text-processing
tag linux
keyboard_command_key View Sourcechevron_right
Tools2025-09-03

Sed Stream Editor Basics

Text manipulation and find-replace operations with sed.

tag sed
tag text-processing
tag linux
keyboard_command_key View Sourcechevron_right
System2025-09-02

Rsync File Sync Mastery

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

tag rsync
tag backup
tag linux
keyboard_command_key View Sourcechevron_right
System2025-09-01

Systemctl Service Management

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

tag systemd
tag linux
tag services
keyboard_command_key View Sourcechevron_right
DevOps2025-08-31

NPM & Yarn Command Guide

Common package manager commands for Node.js projects.

tag npm
tag yarn
tag nodejs
keyboard_command_key View Sourcechevron_right
DevOps2025-08-30

Kubectl Essential Commands

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

tag kubernetes
tag kubectl
tag devops
keyboard_command_key View Sourcechevron_right
Tools2025-08-29

Vim Survival Guide

Essential Vim commands to edit files without panic-quitting.

tag vim
tag editor
tag cli
keyboard_command_key View Sourcechevron_right
System2025-08-28

Disk Space Management

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

tag linux
tag disk
tag storage
keyboard_command_key View Sourcechevron_right
System2025-08-27

File Permissions Master Guide

chmod, chown, and Linux permission management made simple.

tag linux
tag permissions
tag security
keyboard_command_key View Sourcechevron_right
Network2025-08-26

Network Debugging Toolkit

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

tag networking
tag debugging
tag linux
keyboard_command_key View Sourcechevron_right
System2025-08-25

Process Management Essentials

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

tag linux
tag processes
tag monitoring
keyboard_command_key View Sourcechevron_right
System2025-08-24

Find & Grep Power User Guide

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

tag linux
tag cli
tag search
keyboard_command_key View Sourcechevron_right
Network2025-08-23

SSH Tunneling & Port Forwarding

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

tag ssh
tag security
tag networking
keyboard_command_key View Sourcechevron_right
Git2025-08-22

Git Undo Cheat Sheet

How to undo mistakes in Git at various stages.

tag git
tag version-control
keyboard_command_key View Sourcechevron_right
DevOps2025-08-21

Docker Cleanup One-Liners

Quick commands to reclaim disk space from unused Docker resources.

tag docker
tag devops
tag cleanup
keyboard_command_key View Sourcechevron_right
System2025-08-20

Tar Archiving Masters

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

tag linux
tag cli
tag compression
keyboard_command_key View Sourcechevron_right
System202-11-25

At & Batch Job Scheduling

Schedule one-time tasks with at and batch commands.

tag at
tag batch
tag scheduling
keyboard_command_key View Sourcechevron_right