This project is about creating a simple shell. Yes, your own little bash. You will learn a lot about processes and file descriptors.
This project was done alongside Javier Sarabia
(JaviBurn).
Check him and his work out at these links:
git clone https://github.com/magnitopic/minishell.git
cd minishell
git submodule init
git submodule update
Note:
Readline
is required for the program to compile. On Linux this should not be a problem. On Mac it can be installed withBrew
.
If issues persist you might need to change the value of the
EXTRAFLAGS
var in Makefile
make
./minishell
env -i ./minishell
The Minishell project attempts to function very similar to Bash but some features are not required or are from the bonus part.
Unclosed quotes, or special characters that are not required by the subject like \
(backslash), ;
(semicolon) or !!
(bang bang) are not supported.
&&
and ||
with parenthesis for priorities as well as *
(wildcards) are features from the bonus part.
The only implemented builtins are echo
, cd
, pwd
, export
, unset
, env
and exit
.