CS390 UNIX Programming

Spring 2020

Department of Computer Science
University of Alabama in Huntsville


Instructor: Dr. Lin
Office: CRH/NSSTC Room #4027
Phone : 256-961-7652
Class hour: TR 11:20PM - 12:40PM
Class meet: OKT N308
Office hour: TR after class; Other time by appointment; email to linh@uah.edu with subject CS390

Class Syllabus

Resources


CS Linux Lab

Students can access of the following machines in THN-328:

duchess, dakota, whirlwind, marauder, havoc, invader, lightning, hawker, conquest, shrike, crusader


Announcements



Homework assignments, lecture slides, etc.

Index Date Topic Reading Material Notes / Assignments
1 1-7-2020 Course Overview and Preparation
Unix History
The UNIX Time-Sharing System by Dennis Ritchie and Ken Thompson, Communication of the ACM, July 1974, Vol 17, No. 7 Register an account on gitlab if you don't have one
Bring Your Laptop to every class
2 1-9-2020 class git repository setup Online: Git Pro Please setup your gitlab account, create project/repository: cs390, add linh@uah.edu as member with role permission "Reporter"
3 1-14-2020 Linux File System Chapter 3 The Linux File System
4 1-16-2020 Linux File System (Cont'd)
Chapter 3 Assignment #1 Due on 2020-01-25 23:59:59
5 1-21-2020 File Attributes Chapter 4
6 1-23-2020 UNIX Utilities Chapter 4 & Chapter 9 Assignment #2 Due on 2020-02-04 11:19:59
7 1-30-2020 text editors Chapter 5
vi Cheat Sheet
8 2-4-2020 Regular Expression and "grep" Chapter 10
9 2-6-2020 SED: the Stream EDitor Chapter 10 Assignment #3 Due on 2019-02-13 11:20:00
10 2-11-2020 SED: the Stream EDitor Chapter 10
11 2-13-2020 Awk-I Chapter 12
12 2-18-2020 Review for Midterm
13 2-20-2020 Midterm
14 2-25-2020 Awk-II Chapter 12 Assignment #4
Here is the correct grade file
Here is the erroneous grade file
Due on 2020-03-07 23:59:59
15 2-27-2020 Process Chapter 7
16 3-3-2020 Interactive bash Chapter 6
18 3-5-2020 Interactive bash Chapter 6
Parameter Expansion
19 3-10-2020 Bash programming Chapter 13 Assignment #5
Due on 2020-03-27 23:59:59
20 3-12-2020 Bash programming
3-17-2020 No classes
3-19-2020 No classes
3-24-2020 No classes (Honors Day)
21 3-26-2020 Intro Perl Free online book Beginning Perl
or https://perldoc.perl.org/
Bonus#2
Here is the data file to work on databook.txt
Due on 2020-04-07 23:59:59
23 3-31-2020 (optional) Reviewed Perl and Discussed about Bonus#2 Here are some sample perl scripts which are helpful to Bonus#2
localtime
examples
sort
24 4-2-2020 (optional) Python
25 4-7-2020 Software Development C/C++ on Linux Chapter 16 quiz#7: download this buggy file badscript.sh
and this text file filelist.txt
Here is the expected output of this bash script:
expectedstdout.txt
26 4-9-2020 Makefile Chapter 16 Assignment #6
Here is the employees.db
Due on 2020-04-18 23:59:59
27 4-14-2020 Make/Makefile
28 4-16-2020 Advanced Topics / System Admin Tools (last class) quiz#8
29 4-21-2020 Final Review
30 4-23-2020 Final Exam 11:30AM - 2:00 PM