Posted by: Gangadhar on: December 17, 2008
To run a shell script in DEBUG mode, put “-x” option at the end of the interpreter in the first line. #!/usr/local/bin/sh –x This is going to print the steps the compiler goes through.
Get every new post delivered to your Inbox.