Command Interpretation Sequence
Understanding the way the shell interprets a command is an important debugging tool. The following sequence describes the order in which the shell interprets a line of your script:
1. |
Process the following reserved words:
| ||||||||||||||||||||||||||||||||||||
2. |
Process built-in commands:
| ||||||||||||||||||||||||||||||||||||
3. |
Search for functions on the command line.
| ||||||||||||||||||||||||||||||||||||
4. |
Search for aliases on the command line.
| ||||||||||||||||||||||||||||||||||||
5. |
Use the PATH variable to identify directories in which to look up programs/ scripts. ... |
Get Korn Shell Programming by Example 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.