Minishell is the very first buble of the shell branch. We will recreate a simple shell. Later on at 21sh and 42sh, we will add more function to it.
cd ~
git clone https://github.com/JCTGY/minishell.git minishell
cd minishell
make
./minishell
- malloc, free
- access
- open, close, read, write
- opendir, readdir, closedir
- getcwd, chdir
- stat, lstat, fstat
- fork, execve
- wait, waitpid, wait3, wait4
- signal, kill
- exit
- Can only use C
- No memory leaks
- Mini UNIX command interpreter.
- Manage the errors without using
errno, by displaying a message adapted to the error output. - You must deal correctly with the PATH and the environment (copy of system char **environ).
- Implement a series of builtins:
echocdsetenvunsetenvenvexit
- Signal management
- PATH's right management
- Multiple commands
