X417.39A - UNIX Shells and Shell Scripting
UCLA Extension

David Morgan

 

Welcome

I am enthusiastic about linux. Because you chose to join this course you must be too. Good to have you here. It should be fun.

Course Particulars

Prerequisites

X417.31 Introduction to Linux/Unix, or equivalent

Required textbook

UNIX Shells by Example Ellie Quigley; Prentice Hall, 4th edition, 2005

BASH Programming - Introduction HOW-TO (look it up in chosen format)

Advanced Bash-Scripting Guide, An in-depth exploration of the art of shell scripting; Mendel Cooper

the standard UNIX man pages

Catalog description

This course is for those who want the knowledge and expertise to write professional-quality Unix shell scripts that run flawlessly in any Unix-based environment, including Linux. Guidance and examples are given so students can go beyond the mere "working" scripts to ones that are suitable for delivery as part of a software product. How scripts work, how the shell executes scripts, and how the shell executes individual commands within them are addressed. Instruction includes details of providing interactive scripts as well as how to gracefully handle problems, aborts, and error conditions. A comparison is made of the main Unix shells (sh, ksh, bash, and csh), focusing on how their differences affect writing scripts. The major Unix text-processing tools (sed and awk) also are covered. The course concludes with a brief introduction to the Perl scripting language. Homework and hands-on lab exercises provide practical experience on both Sun Solaris and Red Hat Linux--the two most prevalent versions of Unix on the market today. The material covered applies to all versions of Unix, including Linux and Apple's Mac OS X.

 

Grading

A=90%    B=80%    C=70%    D=60%

Percentages are approximate. Grade determination can also depend on non-numeric factors and is ultimately at my discretion. There will be a mix of homework, in-class labs, and examinations.

Website http://dmorgan1.bol.ucla.edu/linuxclasses.html I will make extensive use of this website to communicate with you. You are responsible for awareness of the information posted there, e.g., announcements, grade reports, assignments.

To reach me outside class: 

Other books:

Learning the bash Shell Cameron newham and Bill Rosenblatt, O'Reily & Associates, 3rd edition,  2005

Mastering Regular Expressions Jeffrey E. F. Friedl, O'Reilly & Associates, 3rd edition, 2006

Introducing Regular Expressions Michael Fitzgerald, O'Reilly & Associates, 2012

Classic Shell Scripting  Arnold Robbins and Nelson A. F. Beebe, O'Reilly & Associates, 2005

Sed and Awk Dale Dougherty, O'Reilly & Associates, 1997

The AWK Programming Language, Alfred Aho, Brian Kernighan, Peter Weinberger, Addison-Wesly Publishing Company, 1988

Sam's Teach Yourself Shell Programming in 24 Hours Sriranga Veeraraghavan, Sams Publishing, 2002