habvi / 42_minishell

Re-implemented a simple shell.
4 stars 0 forks source link

minishell

Re-implemented a simple shell.
It partially behaves like GNU Bash version 4.4.0.

demo


Usage (Linux / MacOS)

Install GNU readline

make readline

Compile

make

Execute minishell

./minishell


Basic Minishell Features

More detail : minishell's specification


Used external functions

readline, rl_clear_history, rl_on_new_line, rl_replace_line, rl_redisplay, add_history, malloc, free, write, access, open, read, close, fork, wait, waitpid, sigaction, exit, getcwd, chdir, stat, unlink, execve, dup, dup2, pipe, opendir, readdir, closedir, strerror, perror, isatty


Author