Skip to content

Instantly share code, notes, and snippets.

pihentagy

Block or report user

Report or block pihentagy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pihentagy
pihentagy / bash-debug.sh
Created Jun 26, 2014
Bash command trace to file
View bash-debug.sh
# bash -x to file
exec 99>/tmp/mylogfile
BASH_XTRACEFD=99 # magic bash environment variable
set -o xtrace # start tracing from here onward
You can’t perform that action at this time.