IT 244: Introduction to Linux/Unix
Class 26

Today's Topics

Review

New Material

Announcement

There will be no graded quiz next week.

Final Exam

The final exam will be given on Tuesday, May 15th from 3:00 - 6:00.

The exam will be given in the same room we use for this class.

The final will be similar to the mid-term and will consist of a number of questions.

60% of the questions will come from the Ungraded Class Quizzes.

Class 28, on Thursday May 3rd, will be a review session.

Even though classes do not end until the following week, Class 28 will be the last class.

Instead of having a Class 29, I will have Office Hours all day, from 11 AM to 6 PM.

You will only be responsible for the material in Class Notes 28 and the review for the Mid-term, which you will find here.

Although the time alloted for the exam is 3 hours, I would expect that most of you would not need that much time.

You will not be able to leave the room until you turn in your exam paper so you should visit the restroom before you take the test.

The final is a closed book exam.

Review

case Statement

select Statement

read Command

Here Documents

New Material

Using Braces, { } , with Variables

Special Parameters

$ - The PID of the Current Shell Process

! - The PID of the Last Process Put into the Background

? - The Exit Status

Positional Parameters

# - The Number of Command Line Arguments

0 - The Pathname of the Script

1 - n - The Command Line Arguments

Using { } With Positional Parameters

* and @ - All the Command Line Arguments

shift - Promotes Command Line Arguments

set - Initialize Command Line Arguments

A Practical Example of a Script Using set

Array Variables

Attendance