This project implements a basic interactive shell, supporting builtin commands and can execute external programs using the fork and exec pattern.
The shell runs in an infinite loop until the user exits. Executes system commands like pwd, ls, or any other executablel. Displays the exit code for each executed command.
Requirements A C compiler. gcc task.c
After compiling, run the output file ./a.out and you should be met with an interface. The interface explains the command the user can type - The user is responsible for the correct input
The shell is configured in a way that it prints out the status after each executed run, printing out "Ended normally with status code 0" if normal behaviour, and printing "Ended abruptally" if the program was killed