- A shell is a program that executes other programs in response to text commands.
- It provides a command line user interface for Unix-like operating systems.
- The shell is both an interactive command language and a scripting language.
Write the following commands in your cmd prompt:
- Clone this repo
git clone https://github.com/MazenAtlam/simple_shell.git
- Go to the simple_shell directory
cd simple_shell
- Compile the c files
gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh
- Run the shell
./hsh
- To exit from the shell
exit
This shell behaves like "/bin/sh" in Unix-shell, but does not support all commands.