Forráskód Böngészése

bash: add debugging example (#1493)

Starbeamrainbowlabs 7 éve
szülő
commit
cd5897c7c7
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      pages/common/bash.md

+ 4 - 0
pages/common/bash.md

@@ -15,6 +15,10 @@
 
 `bash {{file.sh}}`
 
+- Run commands from a file, logging all commands executed to the terminal:
+
+`bash -x {{file.sh}}`
+
 - Run commands from STDIN:
 
 `bash -s`