Lab #2/Prog #1 CIS343 Ð The MiniShell (MS)

Getting Started

This lab is to learn about the design of shells like csh, sh, ksh, bash, etc. You will also be implmenting your version of the MiniShell (MS) over the next several weeks.

 

1. Read pages 76-82 prior to the first lab session (see Lab Sessions section for dates)

 

2. Review lab #1, and consider what would be necessary to implement the kinds of features you explored in that lab.

 

3. Goto to your cis343 directory and create a lab2 directory.

Lab Sessions

This lab will take place over 2 sessions:

 

1. Monday (1/26) : background and design overview

2. Monday (2/2) : debugging and testing

Deliverables

You will need to create an ms.cpp file and an ms.h file. The section in your text ÒAttacking the ProblemÓ will be used to get these files started. Your shell will be implemented in these files. You will also need a makefile (a sample file will be made available to you)

Submission

You need to submit this assignment by 8AM February 7th.

 

% cd ~cis343/lab2

 

% turnin cis343 prog1

 

NOTE: view the output of the turnin to verify that all of the necessary files have been submitted.