IT 244: Introduction to Linux/Unix
Class 22 Exercise, Tuesday, April 28th


Log in to users

Directory for this Exercise

Start Up a script Session

Execute the script command, using the --flush option

    script --flush

History Expansion

Brace Expansion

Tilde,  ~  , Expansion

Arithmetic Expansion

Command Substitution

Pathname Expansion

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