- Navigate to the project folder (csc415-shell-program-sohe1l)
- In the terminal run "make" to compile the code
- Alternatively run "gcc -I -Wall myshell.c -o myshell"
- Navigate to the project folder (csc415-shell-program-sohe1l)
- In the terminal run "./myshell"
Simple shell program parsing input and run commands using execvp which supports:
- Parameters passing
- Running commands in the background using&
- Redirects; reading input from file (<) and writing or appending to files (> and >>)
- Running multiple commands using pipes
- Supports cd and pwd commands.
The following extra credit items are implemented:
- Nested pipe commands
- Supports combination of nested pipes and redirects (> >> <)
- Supports ~ in the prompt text and the 'cd' command.