tldr/pages/common/bash.md

21 lines
328 B
Markdown

# bash
> Bourne-Again SHell.
> `sh`-compatible command line interpreter.
- Start interactive command line interpreter:
`bash`
- Execute command passed as parameter:
`bash -c {{command}}`
- Run commands from file (script):
`bash {{file}}`
- Run commands from file and print them as they are executed:
`bash -x {{file}}`