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
How do we create command aliases in a shell?
What are the default permissions of a file when it is created?
How do I run a shell script on a mac?
How to calculate the number of passed arguments?
What is shell and terminal?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
What is shell application?
What is subshell?
What can scripts do?
Is shell scripting difficult?
How to print pid of the current shell?
Explain about login shell?
How do I open a jshell in cmd?
What are the disadvantages of shell scripting?
What is shell scripting used for?