Skip to content

Reads and evaluates simple commands from the user. The reading will involve a trivial lexical and syntactical analysis of the command, and the evaluation will involve finding the corresponding binary on the machine and executing it, or executing the concerned code in the case of a "built-in" command. "to the shell.

Notifications You must be signed in to change notification settings

wethinkcode-archive/minishell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minishell - @WeThinkCode_

As beautiful as a shell.

GIF

WeThinkCode:

Mandatory: 100/100
Bonus: 7/25
Peers: 125%
Total: 107/125

Team:

Martian, Roger, Mosima and Waseem

Installation:

Clone the repo:

git clone https://github.com/martian1431/minishell.git
cd minishell

Run the following to build the binary: make

Running:

Run the shell with:

./minishell

Exit the shell with:

exit

Cancel current process with:

Ctrl + C

Disclaimer:

This project isn't perfect! Use this code at your own risk.

About

Reads and evaluates simple commands from the user. The reading will involve a trivial lexical and syntactical analysis of the command, and the evaluation will involve finding the corresponding binary on the machine and executing it, or executing the concerned code in the case of a "built-in" command. "to the shell.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published