IT 244: Introduction to Linux/Unix
Class 5

General Advice


Course Work


Tips and Examples


Review


New Material


Microphone

Questions

Are there any questions before I begin?

Readings

If you have the textbook you should read chapter 3, The Utilities.

Homework 3

I have posted homework 3.

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

Today's Class

In today's class I will continue talking about utilities.

And discuss command completion which can save you time and effort.

General Advice

Learn to Read Carefully

Course Work

Graded Quiz Today

Late Penalty

Do Not Email Me about Missing Assignments

Importance of Exams

Preparing for Exams

Shell Scripts for Homework Assignments

Scripts for Class Exercises

Tips and Examples

Do Not Fall Behind in This Course

Read the Homework Assignments Carefully

Working with More than One Window

Shell Scripts

Review

Special Characters

Quoting and Escaping

pwd - Show Your Current Directory

cd - Change Directory

ls - List the Contents of a Directory

cat - Print the Contents of a File

rm - Delete a File

mkdir - Create a Directory

rmdir - Delete a Directory

cp - Copy Files

mv - Move a File or Directory

Attendance

New Material

echo - Print Text to the Terminal

hostname - Print the Name of Your Host Machine

Pagers - View a File One Screen at a Time

more

less

Pathname Completion

grep - Finding Strings inside Files

tail - View the Bottom of a File

sort - Print a File in Sorted Order

Class Exercise 5

Class Exercise 5 is the first exercise where you will have to write a shell script.

You will create a text file using nano, and type the Linux commands into it.

You must create this file in your ex5 directory.

Please note that the first few sections of Class Exercise 5 should not be included in your ex5.sh script.

Test your script to see that it works.

Class Exercise

Class Quiz