Giter Club home page Giter Club logo

cop4600_assignment2's Introduction

mysh Shell program

This shell program is for the second assignment in COP4600, Fall 2021 edition.
This program was written by Kurt Wilson and Joseph Terribile

Building and running

  1. make a build directory, and cd into it
    • mkdir build
    • cd build
  2. configure and make the project
    • cmake ..
    • make
  3. run the project
    • ./assignment2

Extra Credit

We implement both extra credit commands: repeat and dalekall

  • repeat n command [args]
    • repeats a command in the background n times, passing an optional set of arguments to each task
    • prints a list of the PIDs for the new processes
    • processes run until they are killed (either by dalek, dalekall, or by another program) or end on their own
  • dalekall
    • kills all spawned child processes that were started with background or repeat.
    • prints a list of the PIDs of the child processes that were stopped
  • example:
# background /bin/sleep 100
Started with pid: 10207
# repeat 3 /bin/sleep 20
PIDs: 10212, 10213, 10214
# dalekall
Exterminating 4 processes: 10207 10212 10213 10214
# 

cop4600_assignment2's People

Contributors

kurtoid avatar theicecreambear avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.