What are the three main forms of enabling debugging in a
shell script?
Answers were Sorted based on User's Feedback
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 is the use of "$#" in shell scripting?
What is the difference between bash and shell?
Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.
What is a shell script in windows?
Explain about debugging?
What is the equivalent of a file shortcut that we have a window on a linux system?
determine the output of the following command: echo ${new:-variable}
What are the different types of commonly used shells on a typical linux system?
Please anyone suggest atleast 2 good training institutes in Hyderabad, INDIA where i can learn unix shell scripting.
There are three departments A,B and C.Write a query to display the names of all the persons( in departments other than A) who are paid higher than the person receiving the lowest salary in DEPT A
Write down the syntax for all the loops in shell scripting.
How will you list only the empty lines in a file (using grep)?