diff --git a/cheat/shell.md b/cheat/shell.md new file mode 100644 index 0000000..facff69 --- /dev/null +++ b/cheat/shell.md @@ -0,0 +1,8 @@ +### Debugging a shell function +```bash +function mybuggyfunction { + set -x + my code + set +x +} +```