The George Washington University
School of Engineering and Applied Science
Department of Computer Science
CSci 51 -- Introduction to Software Development -- Spring 2002
Lab #3
For labs meeting on Jan 31 & Feb. 1, 2002

PART I: Developing the Case Study for Project 2

Develop the Analysis and Algorithm and Data Requirements for your Case Study.

PART II: More Practice with UNIX

These exercises are to be completed without the help of your lab TA. Complete each step in order. Use the handouts you were given during your first lab as a reference. Write down all the commands you use. You must show this to your lab instructor before leaving.

Remember: UNix Is cASe SenSiTIvE!

Short Answer Section:

What is a directory?

What is a root directory?

What is a home directory?

What is a current directory?

To what does .. refer?

To what does . refer?

UNIX Command practice
        Do each command at the unix prompt. When you have found the correct
        command, write it down next to each step.

1. Find out your present working directory.

2. List all files in the current directory.

3. Create a new directory (within the current one) called lab3.

4. Change to the new directory.

5. Find out the name of your present working directory.

6. List all the files in that directory.

7. Go back to your home directory.

8. Create a file called firsttry.txt using vi.

9. Type the following into the file:
        "My name is <yournamehere> and my email address is <email>."

10. Save the file and quit vi.

11. Check to see if your file is in the directory.

12. Copy firsttry.txt into the directory lab3.

13. Move to the lab3 directory.

14. Change firsttry.txt's filename to secondtry.txt.

15. Open secondtry and edit the word 'first.txt' to 'second.txt'.

16. Delete the old file (firsttry.txt).

17. Delete secondtry.txt.

18. Remove the directory lab3.