A simple shell implementation that replicates basic functionalities of a Unix shell. This was a project done with a pair. I focused mainyl in parsing of arguments, tokenization, file descriptors, redirections, heredoc, pipes and process execution.
- Command execution with arguments
- Built-in commands:
cd,echo,env,exit,export,pwd,unset. - Enviroment variable handling
- Redirections: input
<, output>, append>>, heredoc<< - Pipes
| - Signal handling
- Error handling
- Clone the repository
ǵit clone https://github.com/tafinni/minishell.git- Build the project
cd minishell
make- Run
./minishell- You can try builtin commands but also other standard commands will work, for example builtin echo and standard command ls
echo "hello world"
ls