Skip to content

Instantly share code, notes, and snippets.

View fabrice8's full-sized avatar
🧐
Always look closer

Fabrice K.E.M fabrice8

🧐
Always look closer
View GitHub Profile
@fabrice8
fabrice8 / debugging.sh
Created September 16, 2022 16:43 — forked from epynic/debugging.sh
Bash Scripting Zero to Hero Examples
#debugging shellscripts -x would show the scrips line by line and output followed by
#!/bin/bash -x
TEST_VAR="test"
echo "$TEST_VAR"
#custom
#set -x / start debugginh
#set +x / stop
#-ex exit on stop
#-v prints shell before substitution are applied
#-vx