Appendix B. Comparison of the Shells
Feature | Bourne | C | TC | Korn | Bash |
---|---|---|---|---|---|
Aliases | no | yes | yes | yes | yes |
Advanced Pattern Matching | no | no | no | yes | yes |
Command Line Editing | no | no | yes | yes[*] | yes |
Directory Stacks (pushd, popd) | no | yes | yes | no | yes |
Filename Completion | no | yes[*] | yes | yes | yes |
Functions | yes | no | no | yes | yes |
History | no | yes | yes | yes | yes |
Job Control | no | yes | yes | yes | yes |
Key Binding | no | no | yes | no | yes |
Prompt Formatting | no | no | yes | no | yes |
Spelling Correction | no | no | yes[*] | no | yes[**] |
[*] not a default setting: must be set by the user
[**] cdspell is a shopt option set to correct minor spelling errors in directory names when cd is used.
Get Linux Shells 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.