Minishell is a simplified Unix/Linux shell built in C that emulates the behavior of a native terminal. It provides a functional command-line interface for executing commands, managing processes, and handling input/output.
To get a local copy up and running follow these simple steps.
Before you begin, ensure you have met the following requirements:
- You have a Unix/Linux operating system.
- You have
gcc
installed on your system. - You have basic knowledge of C programming.
- Clone the repository:
git clone https://github.com/CuB1z/MiniShell.git
- Navigate to the project directory:
cd MiniShell
- Compile the project by running
Compile.sh
script:./Compile.sh
- ⚙️ Command Execution: Execute built-in and external commands.
- 🚦 Signal Handling: Handle signals like
Ctrl+C
andCtrl+Z
. - 🛠️ Job Control: Manage foreground and background jobs.
- 🔄 Input/Output Redirection: Redirect input and output to files.
- 🔗 Pipelines: Support for command pipelines.
- 💻 Custom Prompt: Display a custom prompt with user and directory information.
Run the main executable file (main
):
./main
Name | GitHub | |
---|---|---|
Diego Sánchez | @CuB1z | Diego Sánchez |
Daniel Santos | @danisntoss | Daniel Santos |
By Diego Sánchez and Daniel Santos.
This project is licensed under a Creative Commons CC0 1.0 Universal License.
You should have received a copy of the license along with this work. If not, see http://creativecommons.org/publicdomain/zero/1.0/.