To build the simple shell, follow these steps in Terminal:
-
Navigate to Directory: Navigate to the directory containing the source files: e.g: "cd /home/kali/Desktop/Assignment_01"
-
Compile the source code using the provided Makefile: Write "make" in terminal
After successfully building the simple shell, follow these steps to execute it:
Run the myshell executable: "./myshell"
Using the Shell: Once the shell is running, you can start entering commands just like in a regular terminal.
#Note: A segmentation fault occurs whiile using a command using pipe "|".