References & Tools

Official Documentation

The authoritative sources. When a guide and the manual disagree, the manual wins.

Free Books & Guides

Style Guides & Standards



Tools & Linters

  • ShellCheck online — paste a script and get warnings in the browser.
  • explainshell — paste a command line and see each part explained.
  • bats-core — Bash Automated Testing System, free and open source.
  • shfmt — a shell formatter to keep style consistent.

Practice & Games

Sample Repositories

  • awesome-bash — a curated list of frameworks, tools and resources.
  • ShellCheck test suite — hundreds of small scripts showing correct and incorrect patterns.
  • awesome-cli-apps — real command-line programs written in Bash and friends.
  • neofetch — a large, readable, purely-Bash program to study.

How to Choose

  • Learning from scratch: TLDP Beginners Guide, then Greg's BashGuide.
  • Checking a specific behaviour: the GNU manual and man bash.
  • Fixing a script: ShellCheck first, then BashPitfalls.
  • Building a habit: the Google Shell Style Guide and a test suite with bats.
  • Practising: LearnShell, then Bandit or Exercism once the basics feel solid.
All resources above are free to read. Bash Hackers Wiki (wiki.bash-hackers.org) is no longer maintained and is intentionally not listed; Greg's Wiki covers the same ground and is kept current.