This document provides a short tutorial on Linux shell scripting. It covers topics such as:
- What is a shell script and defining the shell type with the #! line
- Common shell types like sh, csh, ksh, bash
- The four types of lines in a script: shell defining, empty, comment, command
- Using shell variables, calculations, and preset shell variables
- Conditional branching with if/then/else and case statements
- Loops like while, until, for with continue and break
- Command line arguments and positional parameters
- Other topics like searches with grep, arrays, functions, I/O redirection