First page Back Continue Last page Graphics
Order of Processing
The verb is the first token on the command line at the prompt or within a script. Since it can be many different items, it's processed in this order:
- Aliases
- Keywords
- Functions
- Built-ins
- Executables
What conclusions can you draw from this sequence?
- You can replace a shell built-in command with an alias or a function;
- You can also replace an executable program with an alias or a function.
- Consider how each of these could be useful.