What are the three main forms of enabling debugging in a
shell script?
Answer Posted / 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 |
Post New Answer View All Answers
Is bash a shell script?
What is the use of echo in shell script?
What are the advantages of shell scripting?
How do I save a powershell script?
shell script for reverse the string
Explain about shebang?
What is scripting autism?
What happens on a system call?
How to get the 3rd element/column from each line from a file?
What is a shell script in windows?
How to print all the arguments provided to the script?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
What are types of shells?
What is shell and shell script?
What is the difference between bash and shell?