Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Tools
Bash
Languages
Bash
GNU Bourne-Again Shell and its scripting language.
Official documentation
Errors
1
Flags
1
Cheat sheets
1
Codes
1
Glossary
1
bash: command not found (exit status 127)
bash prints "command not found" and exits with status 127 when a command is not in PATH, not installed or misspelled. Check with command -v and fix PATH.
All Bash error messages
set -euo pipefail: what each flag does in bash
set -e exits on the first failing command, -u treats unset variables as errors and -o pipefail makes a pipeline fail if any command in it fails. Examples.
All Bash flags & options
Bash cheat sheet: variables, tests, loops and expansions
Bash cheat sheet with the syntax you use daily: variables, parameter expansion, tests, loops, functions, arrays, redirection and safe script headers on a page.
All Bash cheat sheets
Bash exit codes: 0, 1, 2, 126, 127, 128+n and 255
What bash exit codes mean: 0 success, 1 general error, 2 misuse of builtins, 126 not executable, 127 not found, 128+n killed by signal n, and how to read $?.
All Bash codes & tables
What is a shebang (#!) line?
A shebang is the #! first line of a script that names its interpreter, such as #!/usr/bin/env bash. The kernel reads it when you run the file as a program.
All Bash glossary
Esc