minishell is a simple Unix shell implementation designed to provide a lightweight and customizable command-line interface. It aims to replicate the basic functionalities of a shell, allowing users to execute commands, manage processes, and handle input/output redirection.
- Command Execution: Execute built-in and external commands.
- Environment Variable Management: Set, get, and delete environment variables.
- Input/Output Redirection: Support for input and output redirection using
<,>, and|. - Signal Handling: Custom signal handling for a better user experience, including handling of
Ctrl+CandCtrl+D. - Command History: Maintain a history of executed commands for easy access and re-execution.
- Error Handling: Robust error messages for common issues like command not found, syntax errors, and memory allocation failures.
To install minishell, clone the repository and compile the project using the provided Makefile:
git clone https://github.com/peterle95/minishell.git
cd minishell
makeAfter compiling, you can run the shell by executing the following command in your terminal:
./minishellYou can then start entering commands as you would in a typical Unix shell.
Made by pmolzer and dmusulas: pmolzer@student.42berlin.de | LinkedIn: pmolzer
