Minishell is a simple shell implementation written in C. It provides basic shell functionalities, allowing users to execute commands, handle input/output redirection, and manage processes.
- Execute basic shell commands.
- Input and output redirection (
>
,<
,>>
). - Pipe (
|
) support for chaining commands. - Environment variable handling.
- Built-in commands like
cd
,echo
,exit
, etc. - Signal handling (e.g.,
Ctrl+C
,Ctrl+D
).
- GCC or any C compiler.
- Make utility.
-
Clone the repository:
git clone <repository_url> cd minishell
-
Build the project:
make
Run the shell:
./minishell
Type commands as you would in a regular shell. For example:
ls -l | grep minishell > output.txt