C Program to serve as a shell interface that can accept user commands and then execute each command in a separate process. The shell interface gives the user a prompt illustrated as ‘osh>’ after which the user can enter their command. The shell interface gives the user a prompt illustrated as ‘osh>’ after which the user can enter their command. This program was developed as part of my CS 3SH3 : Operating Systems class.
To use this shell, run the following commands.
- Download the shell.c file
- Run the following command to create an executable file:
- gcc shell.c -0 osh
- There should now be an executable file called osh
- Run the following command to start the following command:
- ./osh
- The User should now see the prompt ‘osh>’