Sixteen references, in three groups: individual built-in commands, core scripting features, and math/date-time handling. Each is a standalone comprehensive reference, not a linear course — jump to whichever topic you need.

Built-in Commands

Five specific Bash builtins, each with focused examples.

declare

Variable attributes builtin — integer-only, read-only, array, and export flags, and how they change variable behavior.

View reference →

printf

Formatted output with precise control over spacing, alignment, padding, and numeric representation.

View reference →

trap

Signal handling in scripts — clean up temp files, log on exit, ignore Ctrl-C, and respond to other special events.

View reference →

type

Command identification — tells you exactly what bash will execute for a given name: builtin, alias, function, or external binary.

View reference →

column

Formats messy, unaligned text into neat columns from a list or delimited data.

View reference →

Core Language Features

Comprehensive references for everyday scripting mechanics.

Array Operations

Indexed and associative arrays — slicing, iteration, sorting, searching, and array-handling functions.

View reference →

String Manipulation

Parameter expansion, substring operations, pattern matching, case conversion, and input validation.

View reference →

File Testing & Attributes

File tests, permissions, the stat command, timestamps, and file type detection.

View reference →

Input/Output & Redirection

File descriptors, pipes, here-docs, tee, and advanced I/O patterns.

View reference →

Process & Job Control

Background jobs, signals, traps, process management, and parallel execution.

View reference →

Error Handling & Debugging

set options, trap ERR, exit codes, debugging techniques, and defensive scripting.

View reference →

Math & Date/Time

Start with the overview, then go deep on whichever piece you need.

Arithmetic, Dates & Time Overview

Two-part overview covering arithmetic operations and date/time manipulation together — a good starting point before the four focused guides below.

Start here →

Dates & Time

Formatting, parsing, arithmetic, timezones, and practical date operations with the date command.

View reference →

Epoch Time & Durations

Unix epoch time, time differences, session tracking, and precise duration calculations.

View reference →

Arithmetic & Floating Point

Integer math, floating point with bc/awk, precision control, and number formatting.

View reference →

Trigonometry & Math Functions

Advanced mathematics using bc, awk, and other tools.

View reference →
← Back to BashSpecial Index ↑ Back to EXPANDED