INTRODUCTION TO UNIX
                           ====================

                                 LAB #3


             Create a directory called "lab3". Change to this directoy
             and do all the work here.                      

         
         1. Run the following command in the background.

            sleep 300

            Find the process id (pid) of this command. Use "kill" command
            to terminate this process.

         2. Create a file called "abc" with a few lines of text in it.
            type the command: cat abc abc2
            This should output the contents of the of the file "abc" and
            generate an error message. Change the above command to output
            including error message to a file "abc.out1". Send the output
            to a file called "abc.out.2" and errors to the file "abc.err.2".

         3. There is an option to the "cat" command that will number each
            line that is output from a file. Find this option and use it to
            create a file called "n2" that contains the same information as
            "abc", but has each line numbered. Use "abc" as input.

         4. How would you view all the processes currently running on the
            system.

         5. how would you output just the second line from the file you
            created in #2.

         6. Run the following command....

            sleep 300

            suspend this command. Look at the output from the "jobs" command.
            Use the "bg" command to change the "sleep" command from "stopped"
            to "running". Look at the output from the "jobs" command. Use
            "kill %1" to terminate the sleep command.