This is a simple shell program that allows users to execute commands.
- Feature 1 -> Execute commands directly by name or with path
- Feature 2 -> Support for piping multiple commands
- Feature 3 -> Handles arguments passing correctly
- Feature 4 -> Waits for child processes to finish
To install the program, follow these steps:
- Step 1 -> clone the repo using ->
git clone https://github.com/M8DrivenDev/Gates-Of-Shell
- Step 2 -> navigate to the directory using -> cd Gates-Of-Shell
- Step 3 -> install gcc compiler
To use the program, follow these steps:
- Step 1 -> first compile the program using -> gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh
- Step 2 -> you can run it either in interactive mode using -> ./hsh
- Step 3 -> or you can run it in non interactive mode ex -> echo "ls" | ./hsh
This program was created by M8DrivenDev