Greetings!
Here is the code for a basic shell, written for a CentOS Linux environment.
Features:
- Redirection
- Appending
- Signal handling
- Executes commands
- Executes commands with arguments
- Writing to a file
- Reading from a file
- Log prompts
- Warnings
NOTE: You may NOT look at this for any academic purposes if you are a student. By seeing this code you acknowledge that you are not a student, and that any legal or ethical concerns, including anything involving honor code, falls squarely on you (I will not be held liable).