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