Minishell is a simplified Unix shell implemented in C. It provides basic shell functionalities such as executing commands, handling pipes, redirections, and environment variables.
- Command execution (built-in and external)
- Input/output redirection (
>,<,>>) - Pipes (
|) - Environment variable expansion
- Built-in commands:
cd,echo,pwd,export,unset,env,exit - Signal handling (e.g.,
Ctrl+C,Ctrl+D)
- GCC or Clang
- Make
- Unix-like environment (Linux, macOS)
make./minishellType commands as you would in a standard shell:
minishell$ ls -l | grep minishell > output.txt
minishell$ export PATH=$PATH:/custom/path
minishell$ cd ..src/— Source code filesinclude/— Header filesMakefile— Build instructions
| Contributor | Role |
|---|---|
| Command Parsing | |
| Command Execution |
This project is licensed under the MIT License - see the LICENSE file for details.