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
Write a command sequence to find the count of each word?
What is .sh file in mac?
What is the use of break command?
wats the deinitions for shell utility and filter?
What shell is bin sh?
What is scripting used for?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
Why is the use of shell script?
What are "c" and "b" permission fields of a file?
How will you copy a file from one machine to other?
What is the default ubuntu terminal?
How do I set bash as default shell mac?
How to get script name inside a script?
Write a shell script to get current date, time, user name and current working directory.
What are the types of script?