The main task is to create a functional UNIX command interpreter, also known as a shell. The challenge involves parsing user input, managing system processes with fork() and execve(), and implementing essential built-in commands.
This shell is built around a core loop: read, parse, and execute. It reads commands from standard input, splits them into tokens, and determines whether to run a built-in function (like cd or exit) or execute an external binary found in the system's PATH.
To compile the project and create the executable, navigate to the project's root directory and run the make command. This will generate the my_zsh binary.
After installation, you can launch the shell by executing the compiled binary from your terminal.
./my_zsh
Made at Qwasar SV -- Software Engineering School <img alt='Qwasar SV -- Software Engineering School's Logo' src='https://storage.googleapis.com/qwasar-public/qwasar-logo_50x50.png' width='20px' />