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 script files?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
What is a shell environment?
How does shell scripting work?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
Is powershell a language?
How to print the first array element?
What is bourne shell scripting?
What is the syntax of "nested if statement" in shell scripting?
What is console line?
What is sudo command?
how to get part of string variable with echo command only?
What is bash coding?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
What language is bash?