NORTHERN
VIRGINIA COMMUNITY COLLEGE
ANNANDALE
CAMPUS
COMMUNITY
EDUCATION
Course Title : UNIX SHELL
PROGRAMMING
Instructor : Hung Vu, MS, NVCC
Faculty.
(W) 202-283-8793
Course
Description:
Course content covers UNIX SHELL as a Programming Language and describes
Unix Shell interpretation and execution. Topics
detail Unix Shell fundamentals, Shell commands and Shell procedures. Upon completion, students will be able to start using Unix
Shell, create and execute Shell scripts using Shell procedures.
Class
dates :
6 Fridays (From 18:00 - 22:00)
Student
assessment :
Students will be rewarded 2.4 CEU after class completion
Attendance Requirement : At least 90% of lecture
Complete all the labs
Course
Methodology
This course covers UNIX SHELL as a programming language, emphasizes on a
mix of lecture and hands-on labs, and provides a firm and practical knowledge of
creating UNIX SHELL SCRIPTS.
Course
prerequisite
- Introduction to UNIX
- or 6 months of experience working with a UNIX OS
REFERENCE
BOOK: UNIX SHELL PROGRAMMING, by
Lowell Jay Arthur & Ted Burns, Wiley Computer Publishing ( ISBN
0-471-16894-7)
Materials
:
Hand-outs and labs prepared by instructor.
CLASS SCHEDULE
Day
1 :
UNIT 1. INTRODUCTION TO UNIX SHELL
1.1
Introduction to Unix Shell
1.2
UNIX Shell
1.3
UNIX Process
1.4
UNIX System Variables
1.5
Shell Variables
Day
2:
UNIT 2. UNIX COMMANDS
2.1
Basic Commands
2.2
Pipe and I/O Redirect
2.3
File and Directory Commands
2.4
grep
2.5
cut
2.6
paste
2.7
2.8
sed
2.9
awk
2.10
awk examples
Day
3 & 4 :
UNIT 3. UNIX SHELL CONTROL STRUCTURES
3.1
Steps to create a Shell script
3.2
Passing arguments to a shell script
3.3
Conditional test
3.4
if-then-else structure
3.5
if-else examples
Day
5 & 6 :
UNIT 3. UNIX SHELL CONTROL STRUCTURES
3.6
case and switch
3.7
for and foreach
UNIT 4. SHELL
SCRIPT EXAMPLES
Various shell script samples by different authors