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 / manas
We can debug only by $? which contains the returned value
of last executed command.
If $? contains 0 value then command run successfully other
wise error occured while running command
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
What are types of shells?
Where is bash history?
How do I run a .sh file on mac?
What is mac default shell?
What are the advantages of shell scripting?
Can we run shell script in windows?
What does debug script mean?
What language is shell scripting?
Is powershell a language?
Write down the syntax of "for " loop
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
Explain about return code?
What is the first line of a shell script called?
How can we find the process name from its process id?