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

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

1140


What is in a script?

958


How will you connect to a database server from linux?

986


Where is bash history?

856


how to get part of string variable with echo command only?

972


How do I stop script errors?

1033


How can we find the process name from its process id?

1123


I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

1251


Tell something about the super block in shell scripting?

970


Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

1017


What is the command to find out users on the system?

917


What is the meaning of $1 in shell script?

1050


Why is a script important?

985


I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?

2091


What is a shell script in windows?

1019