- Omar BOUYKOURNE @su-omb : 42login =>
obouykou
- Yassin SLATI @sltyassin : 42login =>
yslati
make
./minishell
- Run your commands
echo
with option-n
.cd
with only a relative or absolute path.pwd
without any options.export
without any options.unset
without any options.env
without any options and any arguments.exit
without any options.
- Semicolon
;
in the command separates commands like in bash. - Single quotes
'
and double quotes"
work like in bash except for multiline commands. - Redirections
<
>
>>
work like in bash except for file descriptor aggregation. - Pipes
|
work like in bash. - Backslash
\
works like in bash. - Environment variables (
$
followed by characters) work like in bash. $?
works like in bash.ctrl-C
,ctrl-D
andctrl-\
have the same result as in bash.
- Unix Processes in C
- Writing your own shell fundamentals
- Shell System Calls Signals
- How does copy-on-write work in fork?
- Building a Bash-like application
- execve() linux man
- exit command status
- Please, if you have other useful sources, you can post them in an issue here in GitHub, thanks in advance.
- Maybe you will find some special cases that doesn't work, please post an issue if there are any.