[go: up one dir, main page]

Skip to content

Kuninoto/42_minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

minishell (42Porto - 42Cursus) Linux Logo  C Logo 

Project done in collaboration with ramos21rodrigo

Grade: 101/100

Demonstration:

Installing and running the project:

1- Installing minishell dependencies:

sudo apt-get install make libreadline-dev

2- Clone this repository:

git clone https://github.com/Kuninoto/42_minishell

3- Navigate to lvl_3_minishell and run make

cd 42_minishell/lvl_3_minishell
make

4- make clean so that you don't keep those object files that you won't need anymore

make clean

5- Run minishell

./minishell

Makefile Available Targets:

make or make all - compiles minishell
make clean - wipes all object files
make fclean - deletes minishell and all object files
make re - fclean + all

Useful links

Understanding Bash/Shell behavior:

Parsing:

AST:

Parsing/AST/Interpreter:

Disclaimer

At 42School, almost every project must be written in accordance to the Norm, the schools' coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.


Made by Nuno Carvalho (Kuninoto) | nnuno-ca@student.42porto.com