IT 244: Introduction to Linux/Unix
Class 19 Exercise, Tuesday, April 27th


Log in to pe15

Directory for This Exercise

(When you are ready for me to check this exercise, please scroll back up to where you entered these commands!)

Start Up a script Session

Execute the script command, using the --flush option

    script --flush

Running Processes

The Process Hierarchy

Positional Parameters

Quotes with Variables

Removing a Variable's Value

Making a Variable Read Only

Exit Your script Session

Use the exit command

    exit
You should see a confirmation message confirming that the script session is finished, resulting in a file called typescript. I will look at the typescript file, along with the other files in your directory.

Bash Script for This Exercise