How can I Debug a shell scripts and Perl scripting??
or How do you debug a shell scripting and perl scripting (
at the compile time error or run
time error) in Unix environment ?
Answer Posted / hema
Using sh -x script argument you can debug(-x option).
Bash shell offers debugging options which can be turn on or
off using
set command.
=> set -x : Display commands and their arguments as they are
executed.
=> set -v : Display shell input lines as they are read.
Hope this answers your question.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What are the various stages of a linux process it passes through?
What are the 3 standard streams in linux?
Which scripting language is best for automation?
how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com
What is an inode block?
What is .sh file in mac?
Explain about echo command?
What is the difference between break and continue commands?
How do you find out What is your shell?
What is the command to find out users on the system?
Is shell scripting a language?
What does $@ mean in shell?
What is the best scripting language?
What is shell and terminal?
Why should we use shell scripts?