topic # | Topic | Reading | Homework | Slides |
1 | installation and environment
linux
vs UNIX, roles
of OS, shell, programs |
Sobell ch 1 "Welcome" - an encompassing, casual background overview of
linux Tutorial on MBR and GPT scan A GPT header, part of the GUID partition scheme. "Hard
disk layout" - ibmdeveloperworks write-ups at class website links entitled |
do - fundamental
linux commands
listen - 1985 roundtable discussion about UNIX. (alternative copy for download here as 25MB zipped mp4 file)
for reference only:
hex-dump tools: for reference - 3 low-level dump/edit commands Parition table under the microscope
|
Intro/installation |
2 | bootup and initialization |
article Inside the Linux Boot Process IBM The systemd mechanism for system initialization |
systemd (system initialization method) | Bootup
(static slides version)
Bootup (narrated lecture version) |
3 | processes
How
programs get run fork/exec |
information scattered in Sobell. Read "Running a Program in the Background" pp163-165 "Processes" pp373-376. Note the interesting pstree command "kill" pp.465-467 "$$: PID number" pp.1028 Videos:: |
Processes (static slides version) Processes (narrated slides version) |
|
4 | user interface: the shell |
Sobell ch 5 (7th ed.) "The Shell" - read the whole chapter
Sobell ch 9's section entitled "Processing the Command Line," pp. 403-413 for reference -| |
simpleshell |
The
Shell
(static slides)
The Shell (narrated slides) (some diagrams toward the end of the static slides illustrating I/O redirection do not appear in the narration) |
5 | filesystem permissions |
Sobell ch 6 (7th ed.) read from the section "Access Permissions"
pp. 191-98 and ch9 from the section "Writing and Executing a Shell Script" pp. 336-338 overview of "File permissions" |
|
Permissions
(static slides version)
Permissions (narrated slides version) |
6 | interactive bash |
"The Linux Utilities" in the textbook (ch 7 in 7th edition, ch 5
in 6th edition) - a catalog of important commands. Read it but skip discussion of
the following less important commands:
hostname, lpr, diff, mcopy, gzip/gunzip/bzip, apropos, finger, w,
write/talk/mesg. Skip vim tutorial. ASCII chart - control
characters generating binary characters in several
products |
arrays and shell customization |
interactive bash
(static slides version)
interactive bash (narrated slides version 1hr 15min)
text processing tools (static slides version) text processing tools (narrated slides version 2hr36min) |
7 | shell scripting |
Sobell ch 9 "The Bourne Again Shell" The chapter is full of
embedded short 1- and 2-liner examples. I suggest you be at a bash shell
while reading, to try out some of the interesting ones as you go. The most
important topics appear in the following pages: 328-340, 352-356, 359-360,
366-367, 373-376, 388-389, 396-398
Sobell ch 17 "Programming the Bourne Again Shell" write-ups at class website links entitled "Shell script basics" and "Shell programming: if and while" see also the Bash Programming Introduction HOWTO for reference - |
getting started (static slides version) getting started (narrated slides version 1hr35min)
Shell Scripting (narrated slides version 2hr28min) |
|
8 | user administration |
Sobell ch 15 pp. 598-601 but skip the discussion of system-config-users pp. 508-509 /etc/passwd file p. 511 /etc/shadow pp. 506-507 /etc/group |
user management script |
User administration
(static slides version)
User administration (narrated slides version 1hr43min)
User
management script example
|
9 |
|
view and survey ansible's
documentation
browse the list of ansible modules |
ansible |
ansible (static
slides version)
ansible (narrated slides version 46min) |
10 | remote management, webmin | Webmin: A web-based Linux management tool RedHat article | explore webmin | none |
11 | task scheduling |
Sobell Chapter 15 (7th ed.) section titled "Scheduling Tasks" pp. 607-611 |
scheduled jobs | Scheduled
processes (static
slides version)
Scheduled processes (narrated slides version 59min)) |
12 | Subcontractors: bc, find, xargs |
bc tutorial examples - phodd.net
Advanced Bash Scripting Guide contains coverage of |
Example program - reporting disk hogs, employs find bc to perform RSA encryption algorithm
|
subcontractors - bc
(static) subcontractors - bc (narrated 34min) subcontractors - find (static) subcontractors -
xargs (static) |
13 |
Comparative UNIX kernels, shells, applications, Oh My! Ubuntu, CentOS, FreeBSD, Oh My!! |
do - this capstone exercise on comparison among different flavors of UNIX. | ||
instructor reference: sort multi-line blocks with AWK |