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
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.
Give some situations where typing error can destroy a program?
I have 2 files and I want to print the records which are common to both.
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
What is the use of a shebang line?
What lives in a shell?
What is bash command used for?
Why is shell scripting important?
write a shell script to check the failed jobs?
How to open a read-only file in the shell?
Print the 10th line without using tail and head command.
What is the command to find out today's date?
Please give me example of " at command , contrab command " how to use
What is ms powershell?
What is the first line of a shell script called?