What are the three main forms of enabling debugging in a
shell script?
Answers were Sorted based on User's Feedback
Answer / neha c
set -vx
v:- verbose option(this option outputs every line of the
script onto the standard output console)
x:- this option substitutes every variable's value which is
used in the shell script.
To turn off the debugging option, use set +vx.
Is This Answer Correct ? | 2 Yes | 0 No |
How do I stop script errors?
How will I insert a line "abcdef" at every 100th line of a file?
Why is a script important?
Why is it called a shell?
How to declare functions in unix shell script?
What is echo $shell?
What does chmod do?
Is shell scripting easy to learn?
What's the difference between scripting and coding?
Why should we use shell scripts?
What is the use of break command?
write a program to display all the files from the current directory which are created in particular month