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

Is bash a shell script?

1070


What is the use of echo in shell script?

1013


What are the advantages of shell scripting?

1048


How do I save a powershell script?

1159


shell script for reverse the string

1407


Explain about shebang?

1043


What is scripting autism?

1223


What happens on a system call?

1024


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

1193


What is a shell script in windows?

1097


How to print all the arguments provided to the script?

962


c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

6457


What are types of shells?

1032


What is shell and shell script?

1124


What is the difference between bash and shell?

1131