IT 244: Introduction to Linux/Unix
Class 28

Today's Topics

Review

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.

Today's class will be a review session.

Even though classes do not end until the following week, today's class 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 today's Class Notes 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

Running a Command in the Background

Jobs

Moving a Job from the Foreground into the Background

Aborting a Background Job

Pathname Expansion

The ? Meta-character

The * Meta-character

The [ and ] Meta-characters

Built-ins

Creating Startup Files

Redirecting Standard Error

Shell Scripts

Making a Shell Script Executable

Specifying Which Version of the Shell Will Run a Script

Comments in Shell Scripts

Separating and Grouping Commands

| (pipe) and & (ampersand) as Command Separators

Continuing a Command onto the Next Line

Shell Variables

Local Variables

Global Variables

Keyword Shell Variables

Important Keyword Shell Variables

User-created Variables

Quoting and the Evaluation of Variables

Removing a Variable's Value

Processes

Process Structure

Process Identification

Executing a Command

History

Using the History Mechanism

The Readline Library

Readline Completion

Pathname Completion

Command Completion

Variable Completion

Aliases

Functions

Shell Modification of the Command Line

History Expansion

Alias Substitution

Brace Expansion

Tilde, ~, Expansion

Parameter and Variable Expansion

Command Substitution

Pathname Expansion

Shell Script Control Structures

The if ... then ... Construct

test

The test Operators

Using test in Scripts

The if ... then ... else ... Construct

The if ... then ... elif ... Construct

for ... in ... Loops

for Loops

while Loops

continue

break

read Command

Attendance