Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/servettonga/mini_shell
This project is about creating a simple shell in C.
https://github.com/servettonga/mini_shell
c clang cli shell
Last synced: about 13 hours ago
JSON representation
This project is about creating a simple shell in C.
- Host: GitHub
- URL: https://github.com/servettonga/mini_shell
- Owner: servettonga
- Created: 2024-05-18T20:18:50.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-01-10T13:53:47.000Z (9 days ago)
- Last Synced: 2025-01-10T14:50:24.753Z (9 days ago)
- Topics: c, clang, cli, shell
- Language: C
- Homepage:
- Size: 150 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minishell
A simple Unix shell implementation written in C, recreating basic functionalities of bash.
## Features
- Command execution with absolute and relative paths
- Builtin commands: `echo`, `cd`, `pwd`, `export`, `unset`, `env`, `exit`
- Signal handling (`ctrl-C`, `ctrl-D`, `ctrl-\`)
- Input/Output redirections (`<`, `>`)
- Pipes (`|`)
- Environment variables
- Command history
- Quote handling (single and double)
- Exit status `$?`## Brief overview
![minishell_bg](https://github.com/user-attachments/assets/a1ca7518-0489-4123-82ed-dcc76bfc622d)