Skip to content

language

Bash

Bash (GNU Bourne Again Shell) is a Unix command-line shell and scripting language used to run commands and automate tasks via shell scripts.

Known aliases

  • /bin/bash
  • Bourne Again Shell
  • GNU Bash
  • set -x
  • sh
  • shell
  • shell script
  • xtrace

Relationships

No evidence-backed relationships are recorded.

Current stories

build1 publisher

Claude Code's Bash tool hands every command to macOS zsh

On a Mac the tool named Bash calls zsh, and the GNU coreutils you put first on PATH in your profile never reach it, because the snapshot Claude Code replays before every call takes its PATH from Claude Code's own process.

Publishers:dev.to

Reality

Evidence45
Adoption
Insufficient
Hype gap+10
Incentives25
Confidence55
build1 publisher

Adding -E made a silent ERR trap name the failing mkdir on line 5

Under set -euo pipefail, a failing mkdir inside a helper function killed a nine-line script while the ERR trap printed nothing. Adding one letter, -E, made the same trap report the command and the line it died on.

Publishers:dev.to

Reality

Evidence68
Adoption
Insufficient
Hype gap+8
Incentives45
Confidence66

Earlier coverage

  1. Exit code zero, output zero bytes: why a dated marker file is the only honest success signal

    Build · August 18, 2026 · 1 publisher