This repository contains a simple UNIX command interpreter written as part of the ALX School curriculum. The program replicates functionalities of the simple shell (sh). Functions include reading, parsing, executing commands, and handling environment variables.
Clone this repository to your local system. This will create a directory containing all the files needed to compile and run the shell.
git clone https://github.com/Ma7moudMSA/simple_shell.gitThe shell should be compiled this way:
gcc -Wall -Werror -Wextra -pedantic *.c -o hshAfter compilation, the shell can be run with:
./hsh- Handles commands with options and arguments.
- Handles the
PATH. - Implements builtins like
exit,env,setenv, andunsetenv.
- Mahmoud Medhat
- Moumen Hassan
This project is part of the curriculum for ALX School.