I want to
set -x
at the beginning of my script and "undo" it (go back to the state before I set it) afterward instead of blindly setting +x
. Is this possible?
P.S.: I've already checked here ; that didn't seem to answer my question as far as I could tell.
Asked by Roney Michael
(883 rep)
Sep 20, 2016, 01:05 AM
Last activity: Jul 22, 2025, 02:48 PM
Last activity: Jul 22, 2025, 02:48 PM