Table 1-11 lists basic shell features that each shell provides, which can help you determine what you can and can't do when creating user initialization files for each shell.
Table 1-11 Basic Features of Bourne, C, and Korn Shells
Feature |
Bourne |
C |
Korn |
---|---|---|---|
Known as the standard shell in UNIX |
Yes |
No |
No |
Compatible syntax with Bourne shell |
- |
No |
Yes |
Job control |
Yes |
Yes |
Yes |
History list |
No |
Yes |
Yes |
Command-line editing |
No |
Yes |
Yes |
Aliases |
No |
Yes |
Yes |
Single-character abbreviation for login directory |
No |
Yes |
Yes |
Protection from overwriting (noclobber) |
No |
Yes |
Yes |
Setting to ignore Control-d (ignoreeof) |
No |
Yes |
Yes |
Enhanced cd |
No |
Yes |
Yes |
Initialization file separate from .profile |
No |
Yes |
Yes |
Logout file |
No |
Yes |