19.9.18 By Peter In: bash No comments Using the trace option with the bash shell Until recently I wasn't aware bash has inbuilt tracing capabilities - which can really help when attempting to troubleshoot a script that is breaking. Simply add the '-x' switch - for example: /bin/bash -x /path/to/script.sh Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment