This is shell (3al daya2) that echoes any command except for "exit" command to exit the shell (7amada helal).
command used for compilation:
$ gcc echoer.c -o echoer
run example:
$ ./echoer
Betak w Matra7ak > Tslam ya raye2
Da kalamak? Tslam ya raye2
Betak w Matra7ak > Aywa da kalamy
Da kalamak? Aywa da kalamy
Betak w Matra7ak > Ma khalas ya wa7sh
Da kalamak? Ma khalas ya wa7sh
Betak w Matra7ak > exit
Tare2 elsalama enta
$