The context for this course is set by the Wikipedia article: the Unix Shell. All examples in the course are executed in the Bash shell. Occasional references are made to the other two more similar shells: sh, and ksh.
The bash shell implements the significant facets of sh and ksh, in alleged upward compatibilty, and has some features of csh, which is quite a different model than the sh, ksh, bash progression.
Different from most shell instruction, and since there is plenty of excellent shell material available, this course assumes the shell function is the organizing principle of any shell program. This course will make frequent use of that material.
Contents[edit | edit source]
- Introduction: Shebang #!
- Function Usage
- Conditional Statements
- Interactive Input
- Environment variables
- Parsing Command-Line Arguments (usage function)
- Miscellaneous topics
See also[edit | edit source]
- PowerShell Windows scripting language
- CompTIA Linux Administration/Shells and Scripting/Scripting
- zsh default macOS shell since October 2019
- Wikibooks: https://en.wikibooks.org/wiki/Bash_Shell_Scripting
References[edit | edit source]