tldr/pages/common/bash.md

21 lines
243 B
Markdown

# bash
> Bourne-Again SHell.
> `sh`-compatible command line interpreter.
- Start interactive shell:
`bash`
- Execute a command:
`bash -c {{command}}`
- Run commands from a file:
`bash {{file.sh}}`
- Run commands from STDIN:
`bash -s`