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 |
Why do we write bin bash in shell scripts?
What is sudo command?
How to initialize a directory size to a variable??
What are environment variables?
What are zombie processes?
What is the basic difference you find between a shell script and perl?
What is shell scripting used for?
Given a file find the count of lines containing the word "abc".
Explain about stdin, stdout and stderr?
Create a bash shell script that reads in a number from the user. If the number is 1, print out the date. If the number is 2, list the files in the current directory. If the number is 3, print out who is currently logged onto the system. If the number is anything else, print out an error message and exit. Name this script "various.sh"
How to find duplicate record in file using shell script?
0 Answers IBM, Saama Tech, Wipro,
Explain about login shell?