mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:33:50 +02:00
Merge pull request #1031 from tldr-pages/bash-version
bash: add --version bash: quote command passed with -c
This commit is contained in:
commit
d4cbe1ab9c
1 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
- Execute a command:
|
||||
|
||||
`bash -c {{command}}`
|
||||
`bash -c "{{command}}"`
|
||||
|
||||
- Run commands from a file:
|
||||
|
||||
|
@ -18,3 +18,7 @@
|
|||
- Run commands from STDIN:
|
||||
|
||||
`bash -s`
|
||||
|
||||
- Print the version information of bash (use `echo $BASH_VERSION` to show just the version string):
|
||||
|
||||
`bash --version`
|
||||
|
|
Loading…
Add table
Reference in a new issue