Welcome to Minishell! This project is a basic replica of a Unix shell, specifically inspired by Bash, and is implemented in C.
- Command Execution: Execute user commands and executables using the
execvsystem call. - Built-in Commands: Includes implementations of essential shell commands like
cd,pwd,echo,export,unset,exit, andenv. - Pipes and Redirections: Supports basic pipe functionality and input/output redirection.
- Signal Handling: Basic handling of signals for better control over shell behavior.
- Environment Management: Handles environment variables, allowing users to view, modify, and maintain them.
- Clone this repository:
git clone https://github.com/dvan-kle/minishell.git
- Compile the project using the provided Makefile:
make
- Run the shell:
./minishell
Minishell provides a command-line interface that behaves similarly to Bash.
ls -l
cat Makefile | grep 'a'
env | grep HOME
export program=minishell
exit 100