From cd5897c7c75ab7ad54c6bcc91a65084756819251 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 21 Sep 2017 08:35:20 +0100 Subject: [PATCH] bash: add debugging example (#1493) --- pages/common/bash.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/bash.md b/pages/common/bash.md index 1bb7e681d8..a4fe539229 100644 --- a/pages/common/bash.md +++ b/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`