Main index

Introducing UNIX and Linux


Advanced shell programming

Overview
Sending and trapping signals
      Signal names
Functions
Aliases
The 'exec' mechanism
The 'eval' mechanism
Sending data across networks
      Sending printable characters
      Splitting files
Makefiles
Safe programming
Setting up a terminal
More on files
Miscellaneous utilities
Summary
Exercises

Answer to chapter 9 question 5

The only complication with this example is that you must remember to enclose the sh -x in quotes, since there is a blank which is part of the alias:

alias debugsh='sh -x'


Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck