Lab 18



  1. Write a shell script that will list out the the directories in your PATH environment variable. List each directory on a line.
  2. example
    $ echo $PATH
    /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/kochis/bin
    
    If this is my path then I want the script to yield:

  3. $./s18
    /usr/local/bin
    /bin
    /usr/bin
    /usr/X11R6/bin
    /home/kochis/bin
    



© Allan Kochis Last revision 5/31/2005