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 is echo $shell?
How to set an array in linux?
how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
What is computer cli?
How do I open a jshell in cmd?
How to get the first line from a file using just the terminal?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
What is scripting autism?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
is this growing field and what is average package in this?
What are the different commands available to check the disk usage?
How do you know which shell I am using?
Explain about return code?
What is the purpose of scripting?