zeynepCankara / intercepting-shell-program

A command-line interpreter implementation in Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intercepting Shell Program

The directory content:

  • Makefile : compiles and links the files
  • producer.c : producer part of the simple producer-consumer program
  • consumer.c : consumer part of the simple producer-consumer program
  • isp.c : contains the intercepting shell program
  • report.pdf : contains the experiment results and implementation details
  • project1.pdf: contains the project description

Shell execution:

Find the directory project locates

  • $ make
  • $ ./isp <N> <mode 1: normal, 2: tapped>

Running the producer-consumer model from the intercepting shell:

  • isp$ ./producer <M> | ./consumer <M>

About

A command-line interpreter implementation in Linux


Languages

Language:C 98.2%Language:Makefile 1.8%