export PS4='$0.$LINENO+ '
exec > /tmp/TTpull.log
This is how I like to capture - now what those above means?
The PS4 i already explained in my previous post. The $0 variable holds the name of the script. $LINENO displays the current line no. within the script. The exec command redirects I/O streams. to a file /tmp/TTpull.log. 2>&1 redirects stderr and stdout. and finally - 'set -x' enables debugging.
Making the Database Part of Your Continuous Delivery Pipeline The database, unlike other software components and code or compiled co...
Have you come across a situation when you need to reset the root password of a XEN virtual box. Logon Host machine run following command to...
I have been having a great company with some of the very talented NCG’s ( New College Hires/ Grads ) last ~2yrs. I work for Intuit I...
I worked with a start up employer where it happened that we got an email from out Top Boss! to block all google and yahoo cousins, to promot...