Welcome to Minishell, an interactive shell program designed to emulate the classic Unix shell environment. This project is a journey through the essentials of shell operations, offering insights into system processes, file descriptors, and command-line interactivity. Minishell is perfect for those who wish to explore the foundational aspects of Unix-like systems.
- GCC compiler
- Make
- Git (for cloning the repository)
- Clone the repository:
git clone https://github.com/Anarbb/minishell.git
- Navigate to the cloned directory:
cd minishell
- Compile the project:
make
After installation, you can start using Minishell by running the following command in the terminal:
./minishell
- Customizable command prompt
- Command history
- Executable search based on PATH variable
- Handling of single and double quotes
- Redirections (
>
,<
,>>
,<<
) and pipes (|
) - Environment variable support
- Built-in commands:
echo
,cd
,pwd
,export
,unset
,env
,exit
- Signal handling (
ctrl-C
,ctrl-D
,ctrl-\
)
- https://github.com/Anarbb
- https://github.com/linasbk
- Special thanks to 1337 and our peers for guidance and support.