Introduction to the UNIX Shell Language and Environment ======================================================= This is a workshop that I gave at the New Jersey Institute of Technology (NJIT) in the Spring of 2012 as part of the workshop series of the university's chapter of the Association for Computing Machinery (ACM). It was based on a similar tutorial I had given during meetings of NJIT ACM's SIG GNU/Linux in the Fall of 2011. Flyer ===== Below you may find the flyer for this event: * [Source SVG document](flyer.svg) * [Rendered PDF document](flyer.pdf) This flyer includes copyrighted images used pursuant to the fair use limitation of U.S. Copyright Law. Standards ========= The workshop referred to the Shell and Utilities (XCU) volume of [POSIX.1-2008][posix], [published][unix] by the IEEE and The Open Group. Everything covered applies to any sufficiently-compliant shell and operating system. [posix]: http://pubs.opengroup.org/onlinepubs/9699919799/ [unix]: http://www.unix.org/ Notes ===== The following are my notes from the tutorial I gave at SIG GNU/Linux meetings, reused for the workshop: * [shell.txt](shell.txt) * [shell-tut.txt](shell-tut.txt) The following are the notes I wrote as a guide for the workshop: * [notes.txt](notes.txt) Session ======= The following is a cleaned-up version of the shell session from the workshop, including all of the commands I ran and scripts I wrote. * [Plain text (Markdown) document](session.txt) * [HTML document](session.html) Examples ======== At the end of the workshop, I showed the following example shell scripts: * [`which` of debianutils][debianutils-which] (an implementation of [a program available][which] on many UNIX-like operating systems), notable for its use of the internal field separator (IFS) to parse the `PATH` variable * [`opkbuild`][opkbuild] [debianutils-which]: http://anonscm.debian.org/gitweb/?p=users/clint/debianutils.git;a=blob;f=which;hb=1b1dfee67e9ddd9dfe9171ac347e5000f4deab8a [which]: https://en.wikipedia.org/wiki/Which_%28Unix%29 [opkbuild]: http://git.proteanos.com/opkbuild/opkbuild.git/tree/src/opkbuild.sh Copyright ========= Copyright © 2012 Patrick "P. J." McDermott All works related to this workshop, including this document, the flyer, the notes, and the session records may be used under the terms of the [Creative Commons Attribution 3.0 Unported license][cc-by-3.0]. [cc-by-3.0]: http://creativecommons.org/licenses/by/3.0/