scripting

23 pages in this category.

23/23

sips

macOS built-in image processor covering format conversion, resizing, cropping, rotation, color profiles, metadata inspection, and batch processing recipes.

05-26-2026#sips#macos#osx

REXX Snippets

Practical REXX patterns for z/OS automation, TSO commands, and ISPF services.

05-26-2026#rexx#zos#mainframe

PowerShell Scripting

Author production-grade PowerShell: advanced functions with [CmdletBinding()], parameter validation, pipeline-bound parameters, splatting, switch parameters, .ps1 vs .psm1, and all the control-flow constructs.

05-26-2026#powershell#scripting

PowerShell Remoting

Execute PowerShell against one or many remote hosts using WinRM or SSH transport, persistent sessions, credential management, and JEA.

05-26-2026#powershell#networking#remoting

PowerShell Pipelines

Deep dive on PowerShell's object pipeline: Where-Object, Select-Object, ForEach-Object, Sort-Object, Group-Object, Measure-Object, Compare-Object, Out-GridView, parallel execution, and the two filter forms.

05-26-2026#powershell#scripting#pipelines

PowerShell Modules

Install, discover, update, and author PowerShell modules: PowerShellGet, PSResourceGet, the Gallery, $PSModulePath, $PROFILE customisation, PSReadLine, SecretManagement, and the must-have module shortlist.

05-26-2026#powershell#modules#ecosystem

PowerShell Essentials

Variables, operators, pipelines, Where-Object, ForEach-Object, Select-Object, sorting, grouping, remoting, jobs, CIM, registry, JSON, error handling, and common cmdlets.

05-26-2026#powershell#windows#scripting

PowerShell Error Handling

Master terminating vs non-terminating errors, $ErrorActionPreference, try/catch/finally, throw vs Write-Error, transcripts, and strict mode.

05-26-2026#powershell#scripting#errors

PowerShell Built-in Variables

Complete reference for every automatic and preference variable built into PowerShell — $_, $Error, $MyInvocation, $PSCmdlet, $Host, $PSVersionTable, $ExecutionContext, and all preference variables that tune runtime behaviour.

05-26-2026#powershell#variables#reference

pbcopy & pbpaste

Pipe data into and out of the macOS pasteboard from the shell — multi-pasteboard targets, newline handling, shell aliases, and real-world copy-paste recipes.

05-26-2026#pbcopy#pbpaste#macos

osascript

Drive macOS GUI apps, system events, dialogs, notifications, and Finder from the terminal using AppleScript or JavaScript for Automation (JXA).

05-26-2026#osascript#applescript#jxa

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

launchctl

Bootstrap, bootout, kickstart, print, and enable/disable services with launchctl on macOS: agents vs daemons, plist anatomy, user/system domains, RunAtLoad vs KeepAlive vs StartInterval vs StartCalendarInterval, and recipes for periodic scripts and on-demand workers.

05-26-2026#macos#sysadmin#services

defaults

Read, write, search, and delete macOS preference plists with the `defaults` CLI: data types, domains, current-host scope, the killall dance, finding undocumented keys via plist diffing, and a curated bootstrap recipe.

05-26-2026#macos#customization#prefs

SoX

Comprehensive SoX reference covering file info, format conversion, synthesis, playback, recording, combining, effects (trim, reverb, compand, rate, pitch, tempo, noise gate), batch processing, spectrograms, and piping.

05-25-2026#sox#audio#wav

jq

Slice, filter, map, and transform JSON data from the command line. Covers all essential filters, built-in functions, select, map, reduce, streaming, jq 1.7/1.8 additions, and real-world API response processing.

05-25-2026#jq#json#data

ImageMagick

Comprehensive ImageMagick 7 reference covering magick, identify, mogrify, composite, montage, format conversion, resize, crop, rotate, color adjustments, effects, drawing, text, PDF operations, policy.xml hardening, and batch processing.

05-25-2026#imagemagick#magick#convert

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

FFmpeg

Comprehensive FFmpeg reference covering transcoding, container conversion, scaling, filters, audio, subtitles, streaming, batch processing, and ffplay — with NVIDIA NVENC/NVDEC/CUDA alternatives, Vulkan compute codecs, VVC/H.266 decoding, and the FFmpeg 8.0 Whisper filter.

05-25-2026#ffmpeg#video#audio

curl

Transfer data with URLs. Covers HTTP methods, headers, authentication, forms, TLS, cookies, proxies, timeouts, parallel downloads, and a comprehensive recipe collection.

05-25-2026#curl#http#api

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

awk / gawk

Pattern-action language for structured text. Field splitting, built-in variables, arithmetic, string functions, arrays, BEGIN/END blocks, and practical data-processing recipes.

05-25-2026#awk#gawk#text-processing

Bash Redirection & Pipes

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

05-24-2026#bash#shell#redirection