1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 01:18:00 +01:00
tldr/pages/common/bash.md

21 lines
328 B
Markdown
Raw Normal View History

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