Questions

1:What are the three main forms of enabling debugging in a shell script?
2:Enhance the Debug() function given in this chapter so that the programmer has to press Enter or Return after debugging is deactivated.

When you debug scripts that have several dozen functions, this feature enables you to study the debugging output from a particular function before executing the next function.

Get Sams Teach Yourself Shell Programming in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.