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
Is shell scripting difficult?
How can I set the default rwx permission to all users on every file which is created in the current shell?
How to find all the files modified in less than 3 days and save the record in a text file?
c program to display the information of given file similar to givan by the unix or linux command ls -l
Write the syntax for "if" conditionals in linux?
Explain about login shell?
How do I run a bin bash script?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
What is the difference between break and continue commands?
Is shell scripting a language?
What is the first line in a shell script?
What command needs to be used to take the backup?
What can you do with powershell?
What will happen to my current process when I execute a command using exec?
Is shell a part of kernel?