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 |
What is the best scripting language?
what does "kill -9" and "kill -1" do
How to print the first array element?
How to print all array elements and their respective indexes?
Why is the use of shell script?
In a file , how to retrieve the lines which are the multiples of 50 ? like 50,100,150th lines etc.
What is "test"? How it is used in shell scripting?
What are filters explain sort with all the options available?
What is the default shell of solaris?
write a shell script to check the failed jobs?
what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?
How to get the 3rd element/column from each line from a file?