IT 244: Introduction to Linux/Unix
Class 6

Course Requirements


Tips and Examples


Review


New Material


Studying


Microphone

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.

Questions

Are there any questions before I begin?

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

locate - Search for Any File

find - Search for Files Using Different Criteria

who - See Users Logged On

finger - Get information on Users

Studying

Class Exercise

Class Quiz