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 to initialize a directory size to a variable??

2 Answers  


Why is it called a shell?

0 Answers  


How are shells born?

0 Answers  


What is the need of including script interpreter in your shell script?

2 Answers  


Explain about return code?

0 Answers  






Is shell scripting a programming language?

0 Answers  


How will you list only the empty lines in a file (using grep)?

4 Answers   ANZ,


Explore about environment variables?

0 Answers  


How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?

3 Answers   IBM, Symphony,


Why is a script important?

0 Answers  


What is sh in shell script?

0 Answers  


What is the use of "$?" Sign in shell script?

0 Answers  


Categories