Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are different types of shell?

919


Write the syntax for "if" conditionals in linux?

1109


Is shell scripting a programming language?

1037


What are script files?

1026


What is awk in shell script?

1219


Where is bash history?

912


How do scripts work?

1032


What language is shell scripting?

1018


What is k shell?

940


What is shell variable?

911


What does .sh file contain?

946


What is shell application?

984


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

987


What are the different types of shell scripting?

1099


Determine the output of the following command: name=shubham && echo ‘my name is $name’.

977