Преглед изворни кода

bash: add debugging example (#1493)

Starbeamrainbowlabs пре 7 година
родитељ
комит
cd5897c7c7
1 измењених фајлова са 4 додато и 0 уклоњено
  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`