Print installed Bash version.
Section: Invocation and Help
Show Bash version
bash
bash
bash --versionExplanation
Useful when checking feature support such as associative arrays or newer shell options.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Invocation and Help