A simple shell program to take user input and redirect it using CLI arguments. Input is redirected either to a stdout file or to another process using pipelining. This program was designed using a customized Ubuntu VM.
c language; error-handling; vagrant-environments; tokenization; ubuntu-vm; stdin-redirection; cli-input; 2-stage-pipelining; zombie-process-handling
- Download the repository.
- In the project directory, execute the
make
command. This project was designed to be compiled using clang. Using GCC may not work - To start the program, run
./penn-sh
. - Apply your own redirect commands to test the functionality. The program cannot handle multiple redirects.