What are the three main forms of enabling debugging in a
shell script?

Answers were Sorted based on User's Feedback



What are the three main forms of enabling debugging in a shell script?..

Answer / guest

set -x

Is This Answer Correct ?    6 Yes 0 No

What are the three main forms of enabling debugging in a shell script?..

Answer / visitor

sh -x

Is This Answer Correct ?    3 Yes 0 No

What are the three main forms of enabling debugging in a shell script?..

Answer / anchal

set -vx

Is This Answer Correct ?    3 Yes 0 No

What are the three main forms of enabling debugging in a shell script?..

Answer / learner

set -x
set -v
set -n

Is This Answer Correct ?    2 Yes 0 No

What are the three main forms of enabling debugging in a shell script?..

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 are the three main forms of enabling debugging in a shell script?..

Answer / arun singh

set -x
set -v
set -f

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Shell Script Interview Questions

How do I stop script errors?

0 Answers  


How will I insert a line "abcdef" at every 100th line of a file?

2 Answers  


Why is a script important?

0 Answers  


Why is it called a shell?

0 Answers  


How to declare functions in unix shell script?

4 Answers  






What is echo $shell?

0 Answers  


What does chmod do?

0 Answers  


Is shell scripting easy to learn?

0 Answers  


What's the difference between scripting and coding?

0 Answers  


Why should we use shell scripts?

0 Answers  


What is the use of break command?

0 Answers  


write a program to display all the files from the current directory which are created in particular month

6 Answers  


Categories