IT 244: Introduction to Linux/Unix
Class 6

General Advice


Course Requirements


Tips and Examples


Review


New Material



Microphone

Questions

Are there any questions before I begin?

Quiz 1

I have posted the answers to Quiz 1 here.

Homework 3

I have posted homework 3.

As usual, it will be due this coming Sunday at 11:59 PM.

Today's Class

Today I will wrap up the discussion of utiliities.

I will also discuss the Unix prompt and how you can use it to see where you are in the filesystem.

Finally I will talk about pipes, one of the most powerful features of the Unix command line.

General Advice

Attending Class

Course Requirements

Shell Scripts for Homework Assignments

Scripts for Class Exercises

Tips and Examples

Copying and Pasting at the Command Line

A Space in the Wrong Place

Finding Errors in a Script

Review

echo - Print Text to the Terminal

hostname - Print the Name of Your Host Machine

Pagers - View a File One Screen at a Time

Pathname Completion

grep - Finding Strings inside Files

tail - View the Bottom of a File

sort - Print a File in Sorted Order

Attendance

New Material

The Shell Prompt

Pipes - Stringing Programs Together

uniq - Eliminate Duplicate Lines

diff - Differences between Files

file - Show the File Type

date - Get the Date and Time

wc - Counting characters

which - Finding a Program File

whereis - Finding Files Used by a Program

find - Search for Files Using Different Criteria

who - See Users Logged On

finger - Get information on Users

Class Exercise

Class Quiz