This document provides an introduction and overview of shell scripting with Bash. It discusses why shell scripting is useful for automating tasks and taking advantage of UNIX tools. The course will cover all the basics of shell scripting like input/output, variables, conditional execution, loops, arithmetic, string manipulation, handling arguments, and functions. It requires a basic knowledge of Bash commands and has prerequisites of a Bash introduction course and a system with Bash installed.
This document provides an introduction and overview of shell scripting with Bash. It discusses why shell scripting is useful for automating tasks and taking advantage of UNIX tools. The course will cover all the basics of shell scripting like input/output, variables, conditional execution, loops, arithmetic, string manipulation, handling arguments, and functions. It requires a basic knowledge of Bash commands and has prerequisites of a Bash introduction course and a system with Bash installed.
Reindert-Jan Ekker http://nl.linkedin.com/in/rjekker/ @rjekker 1 Overview ! What do I need shell scripting for? ! What to expect from this course ! Prerequisites 2 Why Shell Scripting ! Bash shell scripts " Execute bash commands from a fle " Automate sequences of shell commands " Run them later or at scheduled times " Take advantage of UNIX toolset ! Who needs it? " System administrators " Developers " Power users ! Bash scripts are very good at: " File manipulation " Running programs " Processing text ! Sometimes other languages are better " Examples: mathematical calculations, binary data, graphics 3 In this course ! All the basics of shell scripting " I/O " Variables " Conditional execution (if, then, else, case) " Loops " Arithmetic " String manipulation " Handling script arguments " Shell functions ! Whats not in this course " Portability to other shells " In-depth explanation of UNIX utilities 4 Prerequisites ! A basic knowledge of the Bash command-line " Standard commands like cd, ls " Redirection " Pathname globbing " Bash introduction course ! A system with Bash installed " Bash 3 (Mac OS) " Bash 4 (Most current Linux distributions) 5