1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/bash.md

21 lines
243 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.
2016-02-22 20:14:41 -05:00
- Start interactive shell:
2016-01-04 20:55:14 +01:00
`bash`
2016-02-22 20:14:41 -05:00
- Execute a command:
2016-01-04 20:55:14 +01:00
`bash -c {{command}}`
2016-02-22 20:14:41 -05:00
- Run commands from a file:
2016-01-04 20:55:14 +01:00
2016-02-22 20:14:41 -05:00
`bash {{file.sh}}`
2016-01-04 20:55:14 +01:00
2016-02-22 20:14:41 -05:00
- Run commands from STDIN:
2016-01-04 20:55:14 +01:00
2016-02-22 20:14:41 -05:00
`bash -s`