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 is echo $shell?

1129


How to set an array in linux?

1312


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

4113


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

1030


What is computer cli?

953


How do I open a jshell in cmd?

1318


How to get the first line from a file using just the terminal?

1175


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

4184


What is scripting autism?

1262


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

997


is this growing field and what is average package in this?

2343


What are the different commands available to check the disk usage?

1057


How do you know which shell I am using?

1087


Explain about return code?

1120


What is the purpose of scripting?

1161