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.
Below you may find the flyer for this event:
Copyright © 2012 Patrick "P. J." McDermott
This flyer may be used under the terms of the
Creative Commons
Attribution 3.0 Unported license.
This flyer includes copyrighted images used pursuant to the fair use
limitation of U.S. Copyright Law.
The workshop referred to the Shell and Utilities (XCU) volume of POSIX.1-2008, published by the IEEE and The Open Group. Everything covered applies to any sufficiently-compliant shell and operating system.
The following are my notes from the tutorial I gave at SIG GNU/Linux meetings, reused for the workshop:
The following are the notes I wrote as a guide for the workshop:
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.
At the end of the workshop, I showed the following example shell scripts:
which
of debianutils
(an implementation of
a program
available
on many UNIX-like operating systems), notable for its use of the internal
field separator (IFS) to parse the PATH
variableopkbuild
of opkhelper (a set of scripts I wrote)