Scripting Language
Bash
A command shell and scripting language used to automate tasks on Linux and Unix-like systems.
Problem it solves
Why it exists.
It makes repeatable command-line operations composable and easy to run in automation.
Optimized for
Where it shines.
System tasks, CI jobs, local tooling, and glue code around command-line programs.
Use with care
Where not to use it.
Do not use complex Bash as a replacement for a maintainable application or typed automation tool.
Components
What it is made of.
- Commands
- Pipes
- Variables
- Functions
- Exit codes
Process
How it works.
- A script invokes commands
- Pipes connect their output
- Exit codes signal success or failure
- Automation reacts to the result