Simple Shell Project

Creating a simple Unix command line interprete.

picture alt

ALX SE COHORT 13 //2023

Compilation

gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh

Usage

Testing: interactive mode

$ ./hsh
($) /bin/ls
hsh main.c shell.c
($)
($) exit
$

also in non-interactive mode:

$ echo "/bin/ls" | ./hsh
hsh main.c shell.c test_ls_2
$
$ cat test_ls_2
/bin/ls
/bin/ls
$
$ cat test_ls_2 | ./hsh
hsh main.c shell.c test_ls_2
hsh main.c shell.c test_ls_2
$

Collaboration

this is a team project made by BoubkerElmaayouf and Achraf Boutzate

Date

start at: 2023/05/10 deadline: 2023/05/24