Name: ________________________________

 

CS 1550 – Project 1

 

“exit” command exits the shell

______________ / 10

Command with no arguments

______________ / 10

Command with arguments

______________ / 10

 

Output redirection

 

With no arguments

______________ / 5

With arguments

______________ / 5

 

Piping

 

With no arguments

______________ / 5

With producer arguments

______________ / 5

With consumer arguments

______________ / 5

With both arguments

______________ / 5

 

Error Handling

 

Invalid command (alone)

______________ / 10

Invalid command (as part of pipe)

______________ / 10

Checks return values of pipe, fork, and wait

______________ / 15

 

 

Style

______________ / 5

 

Total:

 

______________ / 100

Notes: