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 shell application?
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"
Is scripting and coding the same thing?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
In which variable prompt value is stored?
Explain how you Automate your application using Shell scripting.
What is echo in shell?
c program to display the information of given file similar to givan by the unix or linux command ls -l
What is Path variable?What is its use?
How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"
What is the difference between bash and shell?
How many prompts are available in a UNIX system?