IT 244: Introduction to Linux/Unix
Homework 8

Due Sunday, November 5th 11:59 PM

All this work should be done on users3.cs.umb.edu

Deliverables

  1. A shell script named hw8.sh that performs the operations listed below.
    This file should be in an hw8 directory inside your hw directory inside your it244 directory.
    100 points

Requirements

Testing

Steps for Script

  1. Perform the following actions Run one command for each of the items above.
  2. Using 3 commands on the same command line
  3. Copy bother10.sh from /home/ghoffman/course_files/it244_files to your hw8 directory.
    Write a single command line that
  4. Using the directory stack mechanism do the following
  5. Do the following
  6. Do the following The value of foo will not print because it is local to the login shell and cannot be seen in a subshell.
  7. Do the following
  8. Print the value of the keyword shell variable whose value is a list of all the directories Bash will search to find an executable file with the same name as the command you typed on the command line.
  9. Print the value of the keyword shell variable whose value is the absolute pathname of your default shell.
  10. Run a command that will show you all your global variables.