IT 244: Introduction to Linux/Unix
Homework 8

Due

Sunday, March 31st at 11:59 PM

What You Need to Do

Setup

Specification

  1. Perform the following actions The commands above do not have to be on the same line.
  2. Using 3 commands on the same command line
  3. For this step you will write two command lines.
    Copy bother10.sh from /home/ghoffman/course_files/it244_files to your hw8 directory.
    This will be your first command line.
    Write a single command line that All of the above will be your second command line.
  4. Using pushd to go to new directories and popd to return to previous directories, 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 the subshell running print_foo_bar.sh.
  7. Do the following
  8. There is a keyword shell variable which the shell uses to find the directory that contains the executable file to run a command.
    Print the value of this varable.
  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.

Testing

Copyright © 2020 Glenn Hoffman. All rights reserved. May not be reproduced without permission.