Browse Source

bash: add debugging example (#1493)

Starbeamrainbowlabs 7 years ago
parent
commit
cd5897c7c7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/bash.md

+ 4 - 0
pages/common/bash.md

@@ -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`