Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # CS441/541 Shell Project
- ## Author(s):
- Kenan McCracken & Sully Brooks
- ## Date:
- 10-10-2019
- ## Description:
- mysh is a a shell that supports both interactive (reads from stdin) and batch mode (reads from a file). This shell will execute jobs supplied by the user, including any native UNIX commands as well as a few custom jobs:
- • jobs - Displays a list of jobs that are currently in the background
- • history - Displays a list of all jobs executed in execution order (including erroneous jobs).
- • wait - tells the shell to wait for all currently backgrounded tasks to complete
- • foreground (fg) - Tell the shell to wait for a specific backgrounded task to complete.
- • exit - Exits the shell
- ## How to build the software
- Simply type 'make' in the working directory of the project through terminal.
- ## How to use the software
- Simply type './mysh' in the terminal while in the working directory of the shell.
- ## How the software was tested
- We used ValGrind to help identify memory leaks, as well as gdb for tracking the source or segmentation faults.
- We also used a variety given tests, as well as some we created on our own.
- ## Known bugs and problem areas
- There are certain occurrences of execvp failing (not sure why it happens when it does).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement