Score: 100/100
Finished: 24.09.2025
Team: @Lilli & @Marzia
As beautiful as a shell
Summary:
This project is about creating a simple shell. Yes, your own little bash. You will learn a lot about processes and file descriptors.
To use minishell, clone the repository in the root of your project using one of the following commands:
git clone git@github.com:blueyaGIT/minishell.gitgit clone https://github.com/blueyaGIT/minishell.gitgh repo clone blueyaGIT/minishellThis will create a directory called minishell/. Enter it with the command:
cd minishellTo compile the program, run:
makeThis will generate the minishell executable.
Execute the program:
./minishellThis will run the minishell executable
- A Prompt just like Bash with working history
- History is saved during sessions
- Builtin Commands:
echo(with option -n)cd(with relative & absolute path and - and ~)pwdexport(with and without args, supports+=)unsetenvexit
- execution of external Commands using the
$PATH, as well as relative or absolute Paths - Redirections:
<,>,<<&>> - Pipes
|: The output of each command in the pipeline is connected to the input of the next command via a pipe. - Expansion:
- handle env Variables starting with
$ - handle
$?
- handle env Variables starting with
- Support interactive and non-interactive mode
- Signal Handling for CRTl+C, CRTl+D & CRTl+\
For more details, refer to the project documentation or the 42 subject PDF.