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
How to debug the problems encountered in the shell script/program?
How to check if a directory exists?
How do we create command aliases in a shell?
What is a scripting language simple definition?
What is the syntax of while loop in shell scripting?
How do you debug a script?
What is the command to find out today's date?
What is bash coding?
is this growing field and what is average package in this?
Explain about echo command?
State the advantages of shell scripting?
Write a script to print the first 10 elements of fibonacci series.
What is a boot block?
How to use arguments in a script?
How are shells born?