#shell

11 pages tagged shell.

11/11

macOS CLI

Comprehensive macOS terminal reference covering file management, processes, networking, Homebrew, defaults, diskutil, launchctl, pbcopy/pbpaste, open, say, and power-user recipes.

05-26-2026#macos#osx#terminal

subprocess

Run external commands from Python with subprocess. Covers run vs Popen, capture_output, streaming, pipes, timeouts, env/cwd overrides, and shlex quoting safety.

05-25-2026#python#stdlib#shell

shellcheck

Catch quoting bugs, missing checks, and POSIX portability mistakes in shell scripts. Covers every flag, severity levels, inline directives, CI/pre-commit integration, and the most common rules.

05-25-2026#shellcheck#shell#scripting

Pipes

An operating-system primitive that streams one process's stdout into another's stdin, letting small composable tools build large data flows.

05-25-2026#unix#shell#streaming

fish

Comprehensive fish shell reference covering syntax, variables, functions, abbreviations, completions, config files, path management, prompt customization, Fisher plugins, fish 4.x features (Rust rewrite), and migration from bash/zsh.

05-25-2026#fish#shell#terminal

Claude Code Hooks

Automate Claude Code lifecycle events with shell hooks — PreToolUse, PostToolUse, UserPromptSubmit, Notification, Stop, SubagentStop, and PreCompact. Covers configuration, environment variables, JSON I/O, exit codes, and blocking examples.

05-25-2026#claude-code#hooks#automation

Bash

Comprehensive Bash scripting reference covering variables, parameter expansion, control flow, functions, arrays, string manipulation, arithmetic, traps, process substitution, and the Bash 5.3 in-shell command substitution forms.

05-25-2026#bash#shell#scripting

Bash Redirection & Pipes

stdin, stdout, stderr redirection operators and pipeline patterns in bash.

05-24-2026#bash#shell#redirection

Python One-Liners

Useful Python one-liners runnable directly from the shell with python -c or python -m. No file creation needed.

04-25-2026#python#oneliners#cli

macOS

Command-line tools, system utilities, Homebrew, Finder tricks, and macOS-specific development workflows.

04-24-2026#macos#osx#terminal

Linux

Command-line tools, shell scripting, networking, system administration, and data extraction for Linux.

04-23-2026#linux#shell#sysadmin