Appendix B. Comparison of the Shells

FeatureBourneCTCKornBash
Aliasesnoyesyesyesyes
Advanced Pattern Matchingnononoyesyes
Command Line Editingnonoyesyes[*]yes
Directory Stacks (pushd, popd)noyesyesnoyes
Filename Completionnoyes[*]yesyesyes
Functionsyesnonoyesyes
Historynoyesyesyesyes
Job Controlnoyesyesyesyes
Key Bindingnonoyesnoyes
Prompt Formattingnonoyesnoyes
Spelling Correctionnonoyes[*]noyes[**]

[*] 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.