mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
bash: add debugging example (#1493)
This commit is contained in:
parent
e3c103f0ad
commit
cd5897c7c7
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@
|
||||||
|
|
||||||
`bash {{file.sh}}`
|
`bash {{file.sh}}`
|
||||||
|
|
||||||
|
- Run commands from a file, logging all commands executed to the terminal:
|
||||||
|
|
||||||
|
`bash -x {{file.sh}}`
|
||||||
|
|
||||||
- Run commands from STDIN:
|
- Run commands from STDIN:
|
||||||
|
|
||||||
`bash -s`
|
`bash -s`
|
||||||
|
|
Loading…
Add table
Reference in a new issue