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
What are different types of shell?
Write the syntax for "if" conditionals in linux?
Is shell scripting a programming language?
What are script files?
What is awk in shell script?
Where is bash history?
How do scripts work?
What language is shell scripting?
What is k shell?
What is shell variable?
What does .sh file contain?
What is shell application?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
What are the different types of shell scripting?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.