https://github.com/mariamelsahhar/minishell
👾 This bash shell clone uses C to parse input, execute commands, and manage multiple processes.
https://github.com/mariamelsahhar/minishell
bash
Last synced: 2 months ago
JSON representation
👾 This bash shell clone uses C to parse input, execute commands, and manage multiple processes.
- Host: GitHub
- URL: https://github.com/mariamelsahhar/minishell
- Owner: MariamElSahhar
- Created: 2023-05-04T10:01:16.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-05T15:39:06.000Z (almost 3 years ago)
- Last Synced: 2025-06-14T15:03:11.148Z (about 1 year ago)
- Topics: bash
- Language: C
- Homepage:
- Size: 1.2 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minishell
This 42 project is a simplified version of a Unix shell. It provides a command-line interface where users can execute various commands and manage processes. The project focuses on parsing and executing commands, handling environment variables, and providing basic shell functionalities.
## Features
- Command-line interface with a prompt for user input
- Command parsing and execution
- Support for built-in shell commands
- Environment variable management
- Input/output redirection and piping
- Signal handling and process management
### Not Supported
- ';', '&&', or '||'
## Prerequisites
- [GCC](https://gcc.gnu.org/) or C complier
- The readline library
- Available on Linux, but use the Makefile to download
## Installation
1. Clone the repository
`git clone https://github.com/MariamElSahhar/minishell.git`
2. Navigate to the directory
`cd minishell`
3. Compile the minishell
`make`
## Usage
Start the minishell using the following command:
`./minishell`
This launches the minishell and displays a prompt where you can enter commands.