minishell
is a command interpreter based on bash
.
It must implements basic functionalities of a shell like environment variable, builtins, pipes...
cd
pwd
echo
export
unset
env
exit
CTRL-C
CTRL-\
CTRL-D
|
pipes;
semicolons>
>>
<
<<
redirections&&
||
operators*
wildcard- local variable
- env expansions +
$?
- line edition
- termcaps
- history (up/down arrows)
- move cursor (left/right arrows)
- move word by word (CTRL-left/CTRL-right)
- move to beginning/end of line (HOME/END)
- change line (CTRL-UP/CTRL-DOWN)
- copy/paste/cut from cursor position (ALT-X/ALT-C/ALT-V)
# Compile the mandatory part
make
# Compile with bonus (termcaps)
make bonus
# Launch the shell
./minishell