You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# dump set -x data to a file# turns on with a filename as $1# turns off with no params# note that FD 4 should not be used elsewhere in the scriptsetx_output()
{
if [[ $1 ]];thenexec4>>"$1"
BASH_XTRACEFD=4
set -x
elseset +x
exec4>&-
fi
}
The text was updated successfully, but these errors were encountered:
echo
with output redirection (see Bash - redirections and pipes #99)xtrace
output to a file (file, or/dev/kmsg
for debugging boot issues) (see http://mywiki.wooledge.org/BashGuide/Practices#Debugging)xtrace
output to a command likelogger(1)
The text was updated successfully, but these errors were encountered: