How can I Debug a shell scripts and Perl scripting??
or How do you debug a shell scripting and perl scripting (
at the compile time error or run
time error) in Unix environment ?
Answer Posted / ram
We can also use below command to debug the script
bash -xv <scriptname.sh>
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What does the sh command do?
Explain about return code?
What does $$ mean in shell script?
How will you emulate wc –l using awk?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
How do I stop script errors?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
How do you find out What is your shell?
What is the command to find out today's date?
Is scripting and coding the same thing?
What is a shell environment?
How do scripts work?
What is the difference between break and continue commands?
how to print the 2-d, 3-d arrays in unix shell script programs please answer thi questio to my mail venusaikumar@gmail.com