Skip to content
The Bash Insectarium

/static/insetario/en/raridade/comum/

Menu

This filter is a page

Rarity: common

Everywhere; typed without anyone noticing.

9 insects on this page

  1. BSH-001 {a,b} One word becomes two: the list in braces multiplies whatever surrounds it. Braces common
  2. BSH-002 {1..10} From one end to the other, the shell lines up the sequence — with a step, if asked. Braces common
  3. BSH-004 ${var:-padrão} If the variable is empty, the default takes over — without touching the variable. Parameters common
  4. BSH-011 ${var/velho/novo} Swaps one piece of the value for another; with a double slash, all of them. Parameters common
  5. BSH-017 << The text enters the command right there, up to the agreed word. Documents common
  6. BSH-020 $? The last command's exit status: zero is good silence. Ghost variables common
  7. BSH-021 $$ The shell's own process number — the session's registration. Ghost variables common
  8. BSH-023 $0 The name the script was called by — itself, on the label. Ghost variables common
  9. BSH-026 cd - Back to the previous directory — and it even announces where it went. Displacements common