Project 1 - Project 1: Develop your own shell In this...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS551 F11 Project 1 1 Project 1: Develop your own shell In this project, you will write your own shell with some minimum requirements from us 1. Your shell shall be invoked from the Ash shell provided with Minix. 2. Your shell shall first execute a PROFILE file which defines the “prompt sign” and allows you to access programs provided in /bin and /usr/bin. Once the PROFILE file is executed, you will be in a HOME directory specified by you in the PROFILE file. 3. In a command line of your shell you will be able to exercise utilities provided in / bin and /usr/bin. You will need to show that you can do the following: a) A command with or without argument such as: cat, ls b) A command with or without argument whose output is redirected to a file such as: ls –l > filename; c) A command with or without argument whose output is piped to the input of another command such as: cat filename | wc Pipe and output indirection must be supported by your program and not the underlying Ash shell.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Project 1 - Project 1: Develop your own shell In this...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online