This project is meant to replicate some basic core parts of bash shell. In this minimal version one can execute commands with pipes and redirections.
- Initialize the program with
./minishell
- Utilize the shell as you would use a proper shell
- Status: Complete
- Result: 100%
Felipe
- 42-email: [email protected]
- 42-profile: https://profile.intra.42.fr/users/fdessoy-
Waleed
- 42-email: [email protected]
- 42-profile: https://profile.intra.42.fr/users/walnaimi
- discord: torutu.
Bruno
- 42-email: [email protected]
- 42-profile: https://profile.intra.42.fr/users/bposa
Leo
- 42-email: [email protected]
- 42-profile: https://profile.intra.42.fr/users/lstorey
ALWAYS remember to pull from main to have the latest version of minishell before continuing your work. At the same time, always remember to only push to main directory when the program is properly working. AVOID PUSHING FAULTY PROGRAM AT ALL COSTS!
1. git clone repo
2. git checkout -b 'BranchName'
3. git status
4. git add (files)
5. git commit -m "comment"
6. git pull origin main
7. git checkout main
8. git pull
9. git merge BranchName
10. git push
11. git checkout BranchName
- Tokenization
- convert input command line into a linked list
- built-ins.
- echo (with -n)
- cd
- pwd
- export
- unset
- env
- exit
- commands.
- arguments.
- pipe.
- Redirection Operators.
- "<"
- ">"
- "<<"
- ">>"
- single and double quotes.
- built-ins.
- convert input command line into a linked list
- single and multiple commands (pipes)
- Handle $?
- Environment variables ($ expands values)
- Signals
- CTRL + C
- CTRL + \
- CTRL + D