This project is about creating a simple shell. Yes, my own little bash. I learnt a lot about processes and file descriptors
read the subject for more infrmetion.
Program name | minishell |
Makefile | all , clean , fclean , re , bonus , rebonus |
Arguments | |
External functs. | readline, rl_clear_history, rl_on_new_line, rl_replace_line, rl_redisplay, add_history, printf, malloc, free, write, access, open, read, close, fork, wait, waitpid, wait3, wait4, signal, sigaction, sigemptyset, sigaddset, kill, exit, getcwd, chdir, stat, lstat, fstat, unlink, execve, dup, dup2, pipe, opendir, readdir, closedir, strerror, perror, isatty, ttyname, ttyslot, ioctl, getenv, tcsetattr, tcgetattr, tgetent, tgetflag, tgetnum, tgetstr, tgoto, tputs |
Libft authorized | yes |
Description | Write a shel |
- MacOS 11.4(Big Sur, Intel)
Developed and tested in this environment.
To compile , run the lines below.
$ git clone https://github.com/moelazhari/minishell.git
$ cd minishell
$ make
Run compiled executable file.
$ cd minishell
$ ./minishell