This is my final project for the term. This code is written in C and it can do anything the original shell did but you can custom it.
What I do is I create another process using fork() and in the child process I will execute any input from the user.
By doing this, I can customize some commands the original shell can't do.
For example, I custome the help and Ctrl+C command.
Run
gcc -Wall -Werror -g -Og -o customShell customShell.c
./customShell
Name | |
---|---|
Dave Nguyen | nguyend2@carleton.edu |