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: 15 days 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 (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-01-10T13:53:47.000Z (12 months ago)
- Last Synced: 2025-01-18T23:51:24.306Z (12 months ago)
- Topics: c, clang, cli, shell
- Language: C
- Homepage:
- Size: 152 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
