IT 244: Introduction to Linux/Unix
Class 9 Exercise, Thursday, February 27th


Log in to users

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

Hidden Files

Startup Files

Absolute Pathnames

Tilde  ~ 

The  .  in a Directory

Relative Pathnames in the Current Directory

Relative Pathnames in a Subdirectory

Relative Pathnames above the Current Directory

Relative Pathnames neither Above nor Below your Current Directory

Look at the Permissions of Files in a Directory

Exit Your Script Session

Use the exit command

    exit
You should see a confirmation message confirming that the script is finished, resulting in a file called typescript

Practice with Permissions

Re-Start Your Script Session

Execute the script command, using both the --flush option AND the --append option

    script --flush --append

chmod with Numeric Arguments

Exit Your Script Session

Use the exit command

    exit
You should see a confirmation message confirming that the script is finished, resulting in a file called typescript

Bash Script for this Exercise

When finished: