This project is a simple command-line interpreter, also known as a shell. It allows users to execute basic shell commands such as "ls", "cd", "echo", and "pwd". In addition, it supports pipes and redirections.
- A C compiler
- Make
- Git
To install the Minishell project, follow these steps:
- Clone this repository onto your local machine.
git clone https://github.com/rvan-duy/42-minishell.git
- Navigate to the project directory.
cd minishell
- Compile the project using the Makefile.
make
- Run the executable file.
./minishell
To use the Minishell project, simply enter a command at the prompt and press "Enter". For example:
$ ls
You can also use pipes and redirections to modify the input and output of commands. For example:
$ ls | grep foo > output.txt
This command will list all files in the current directory that contain the string "foo" and save the output to a file called "output.txt".
Contributions to the Minishell project are welcome. If you find a bug or have an idea for a new feature, please open an issue on the project's GitHub page.