set +x code example
Example 1: "set -x " bash
set -x
echo `expr 10 + 20 `
+ expr 10 + 20
+ echo 30
30
Example 2: "set -x " bash
set +x
echo `expr 10 + 20 `
30
set -x
echo `expr 10 + 20 `
+ expr 10 + 20
+ echo 30
30
set +x
echo `expr 10 + 20 `
30