blob: 6e4c575657e4a71e92d03d017c9a660cddd43eeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
<!--#set var="title" value="UNIX® Shell Scripting Workshop" -->
<!--#include virtual="/includes/header.html" -->
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] of opkhelper (a set of scripts I wrote)
[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://odin1.pehjota.net/git/opkhelper/tree/src/opkbuild.sh
Copyright
=========
Copyright © 2012 Patrick "P. J." M<span class="super">c</span>Dermott
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/
<!--#include virtual="/includes/footer.html" -->
|