Minishell is a simple shell program inspired by Bash. It replicates key functionalities of a shell, including command execution, piping, and signal handling.
To compile and run this program, you'll need:
- A C/C++ compiler (e.g., GCC)
- readline library (e.g., brew install readline)
- Make (optional, for easier compilation)
- Pipe: Implements inter-process communication.
- Signal: Handles system signals for process control.
- fork(): Creates child processes to execute commands.
- Clone the repository:
git clone https://github.com/Hyun-Soon/MiniShell.git cd MiniShell - Compile the project:
make
- Run the shell:
./minishell
- Executes basic shell commands.
- Supports pipes (
|) for command chaining. - Handles signals like
Ctrl+CandCtrl+D. - Manages child processes using
fork().
| μνμ | ꡬνλͺ¨ |