Both part I and part II need to be handed in.

I Getting Confortable with UNIX

 

1. Explain the results of executing these command:

A. date
B. whoami
C. who
D. pwd
E. ls, ls -a, ls -l
F. clear
G. man cal


2. Specify the commands you would use to do the following:

A. Create 2 directories in your home directory called: Cis15 and Temp.
B. Create a file tempfile in the Temp directory.
C. View the content of the Temp directory.
D. Remove tempfile.
E. Remove the Temp directory.
F. Go into the Cis15 directory. Return to your home directory.

II Compiling a very small program.

 

To learn vi, you can use vilearn utility.


Write, compile, and execute a C program myself.c which prints out your name on one line and cis 15 on the next line.

Hand in the source code and output along with the answers from Part I. Your answers should be typed!