Bash is the default shell on Linux, Mac, and other Unix family systems including the SCC. It is a flexible tool for interfacing with the command line utilities. This tutorial will focus on using bash for repeatable use of commands across multiple directories and file names, including checking for file types, if/then statements, for loops, and coding for readability. Examples will emphasize reusability, and will include both scheduler (qsub) and non-scheduler applications.
This tutorial is intended for beginning to intermediate users, who are looking to automate repetitive operations. Previous exposure to a shell such as covered in our “Introduction to Linux” or “Introduction to SCC” tutorial is recommended.