Felix Estrella
07/06/22
This is a program that is a shell, like bash for example. It can take in a bunch of differnet commands such as ls, date, and many more. It can run commands in the foreground and in the background. Also, this program has a few builtin commands that are exit, fg, history, jobs, and wait. Plus, this program can do file redirection. Lastly, the program supports interactive mode which takes user input and batch mode which takes in one or more files.
To build the software is by calling on the make file. The command that should be called make.
make
How to run the code, is to call the executable on the command line with nothing extra for interactive mode and with the file name(s) after for batch mode.
Interactive Mode Example:
./mysh
Batch Mode Examples:
./mysh test.txt
./mysh test.txt file.txt