Advanced Beginner Shell

Who: Titus Brown, lead instructor.

When: January 13, 2016

Times: 9:15am-12:15pm PST

Where: 1041 Valley Hall, UC Davis Campus

Contact: Please contact Jessica Mizzi with any questions.


This half-day workshop will continue from the end of the Beginning Shell lesson (see materials here:

We will cover loops, if statements, scripting, and I/O redirection (>, <, etc.). We will also talk a bit about how to put together shell scripts for job submission on queuing systems (‘qsub’ etc.).

Installation instructions

The Bash Shell


  1. Download the Git for Windows installer here.
  2. Follow install instructions.
    • Click “next”
    • Click “next”
    • Click “next”
    • Click “next”
    • Click “next”
    • Select “Use Git from the Windows Command Prompt” and click on “next”. If you forget to do this, re-run the installer and select the correct option.
    • Click “next”, keep “Checkout Windows-style, commit Unix-style line endings” selected.
    • Select “Use Windows’ default console window” and click on “next”
    • Click on “next”
    • Click on “finish”

Mac OS X:

The default shell in Mac OS X is bash, so you can access the Terminal from /Applications/Utilities (go to your Applications folder, then go to the Utilities window. You should see “Terminal” there)

LICENSE: This documentation and all textual/graphic site content is licensed under the Creative Commons - 0 License (CC0) -- fork @ github. Presentations (PPT/PDF) and PDFs are the property of their respective owners and are under the terms indicated within the presentation.