IT 244: Introduction to Linux/Unix
Class 28

Today's Topics

Review

Final Exam

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

The exam will be given in Wheatley 1-064, not the classroom we are in today.

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.

Although classes do not end until Friday, December 14th, I do not have materials for an additional class, and do not have the time to prepare them.

Instead, on day when the last class would normally be held, Thursday, December 13th, I will have office hours from Noon to 6 PM.

You may come to my office at any time during this period, for help of any sort, without making an appointment.

Today's class will be a review session.

You will only be responsible for the material in today's class 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.

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