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 |
I have 2 files and I want to print the records which are common to both.
Is shell a part of kernel?
What are script files?
What is difference between shell and bash scripting?
What is the best shell scripting language?
how to read systems current date and time
What is the command to find out users on the system?
Explain about shebang?
How many fields are present in a crontab file and what does each field specify?
What language is bash written in?
How would you compare the strings in a shell script?
Why is used in shell scripting?