This project is about creating a simple shell. Yes, your own little bash. You will learn a lot about processes and file descriptors.
Clone the project
git clone https://github.com/pyven-dr/minishell.gitCompile
cd minishell && makeRun minishell
./minishell’(single quote)"(double quote)- Redirections :
<should redirect input>should redirect output<<should be given a delimiter, then read the input until a line containing the delimiter is seen. However, it doesn’t have to update the history>>should redirect output in append mode
pipes(| character). The output of each command in the pipeline is connected to the input of the next command via a pipeAnd(&& operator)Or(|| operator)Parenthesis(for priorities only)Wildcards(* character) in current working directoryenvironment variables($ followed by a sequence of characters)$?- Signals :
ctrl-CCtrl-DCtrl-\
- Builtins :
echowith option -n (echo documentation)cdwith only a relative or absolute path (cd documentation)pwdwith no options (pwd documentation)exportwith no options (export documentation)unsetwith no options (unset documentation)envwith no options or arguments (env documentation)exitwith no options (exit documentation)
