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

What is the best scripting language?

0 Answers  


what does "kill -9" and "kill -1" do

2 Answers   Amazon,


How to print the first array element?

0 Answers  


How to print all array elements and their respective indexes?

0 Answers  


Why is the use of shell script?

0 Answers  


In a file , how to retrieve the lines which are the multiples of 50 ? like 50,100,150th lines etc.

9 Answers   Amazon,


What is "test"? How it is used in shell scripting?

2 Answers  


What are filters explain sort with all the options available?

0 Answers  


What is the default shell of solaris?

0 Answers  


write a shell script to check the failed jobs?

0 Answers   Wells Fargo,


what are special characters and explain how does text varies by the usage of single quotes,double quotes and back quotes?

1 Answers  


How to get the 3rd element/column from each line from a file?

0 Answers  


Categories