Diego y Carlos's Shell is a simple UNIX command interpreter that replicates funtionalities of the simple shell. Additional functions are also included. THis program was written entirely in C as a project for HOlberton School.
Clone this repository into your pc. For best results, files should be compiled with gcc and the following flags: -Wall -Wextra -Werror -pedantic -Wno-format.
After compilation, the resulting program can run stand-alone either in interactive or non-interactive mode.
In interactive mode, simply run the program and wait for the prompt to appear. From there, you can type commands freely, exiting with either the "exit" command or ctrl-D.
In non-interactive mode, echo your desired command and pipe it into the program like this:
echo "ls" | ./shell
In non-interactive mode, the program will exit after finishing your desired command(s).
All code written by Diego Vivas Carlos Alvarez