IT 244: Introduction to Linux/Unix
Class 14

Today's Topics

Review

Homework 7

I have posted homework 7 here.

Review

Correcting Mistakes on the Command Line

Retrieving Your Last Command Line Entry

Aborting a Running Program

Getting Help with Unix Commands

Special Characters

Quoting and Escaping

cd - Change Directory

pwd - Show Your Current 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

echo - Print Text to the Terminal

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

diff - Differences between Files

Pipes - Stringing Programs Together

date - Get the Date and Time

which - Finding a Program File

locate - Search for Any File

finger - Get information on Users

The Hierarchical Filesystem

Case Sensitivity

Filename Extensions

Current Directory

Your Home Directory

Hidden Filenames

The . and .. Directory Entries

Pathnames

Absolute Pathnames

Tilde ~ in Pathnames

Relative Pathnames

Relative Pathnames in Your Current Directory

Relative Pathnames in a Subdirectory

Relative Pathnames above the Current Directory

Relative Pathnames Neither above Nor below the Current Directory

Access Permissions

Viewing Access Permissions

chmod

Using chmod with Numeric Arguments

The root Account

Directory Access Permissions

ln

Command Options

The PATH System Variable

Running a Program in the Current Directory

Standard Input, Standard Output and Standard Error

The Keyboard and Screen as Standard Input and Standard Output

Redirection

Redirecting Standard Output

Redirecting Standard Input

Redirecting Standard Output Can Destroy a File

Adding Output to an Existing File

/dev/null

Attendance