bash

GNU Bourne-Again shell

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

The default shell on most Linux systems. `bash -c` runs a string as a command; `bash script.sh` runs a script.

Common flags
FlagMeaning
-cRun a command string
-xTrace commands as they run
-nSyntax check without running
-eExit on first error
-uTreat unset variables as errors
-lLogin shell
Examples
bash -n script.shSyntax-check a script · explain & risk-check →
bash -x script.shDebug by tracing · explain & risk-check →
Related
sh set source
Open the full explainer →More in Shell & Scripting

Reference text is hand-written and may be incomplete — check man bash for your version. Test destructive commands on a non-production system first.