A small Unix command-line interpreter coded in C
This is a school project
During this project, the goal was to recode a Unix shell with some restrictions on the functions we could use, here is the list of most of the alowed ones:
- malloc, free, opendir, readdir, closedir, getcwd, chdir
- fork, stat, lstat, open, close, getline
- read, write, execve, access, wait, waitpid
- signal, kill, getpid, strerror, perror, strsignal
First, compile all the source files usig make
Now, execute the binary:
./mysh
The shell is now running, try it out!