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 are shells born?
How do you know which shell I am using?
What is the command to find out today's date?
How to get the first line from a file using just the terminal?
What is the purpose of scripting?
What are filters explain sort with all the options available?
What is a shell in operating system?
How to open a read-only file in the shell?
Where are cowrie shells found?
What is path variable bash?
How do I run a powershell script?
What language is bash?
What is shell scripting used for?
What happens when you type ls?
How will you emulate wc –l using awk?