This project is about creating a simple shell. Yes, your own little bash. You will learn a lot about processes and file descriptors.
Minishell for Linux requires readline
, rl_clear_history
, rl_on_new_line
,
rl_replace_line
, rl_redisplay
, add_history
, therefore you will need to install the following dependencies: libreadline8
libreadline-dev
. Installing these dependencies on Ubuntu can be done as follows:
sudo apt-get install libreadline8 libreadline-dev
- Clone the project.
git clone git@github.com:ricardoreves/42-minishell.git
- Navigate to the project directory.
cd 42-minishell
- Compile the minishell.
make
- Run the minishell
make run
Distributed under the MIT License. See LICENSE for more information.