https://github.com/brocbyte/gemsh
Simple shell implementation.
https://github.com/brocbyte/gemsh
c multiprocessing shell
Last synced: 29 days ago
JSON representation
Simple shell implementation.
- Host: GitHub
- URL: https://github.com/brocbyte/gemsh
- Owner: brocbyte
- Created: 2020-10-19T16:17:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T03:02:12.000Z (over 5 years ago)
- Last Synced: 2025-08-01T07:27:45.351Z (11 months ago)
- Topics: c, multiprocessing, shell
- Language: C
- Homepage:
- Size: 72.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gemsh
gemsh is a simple bash-like implementation of a shell in C. Written as a project for Operating System course.
It demonstrates the basics of a regular shell pipeline: read, parse, fork, exec.
***
Supported features:
+ multiple-line commands
+ stdin/stdout/stderr redirection
+ childish job-control: foreground/background process group management, some simple builtins
+ piping
+ signal handling (ctrl+c, ctrl+z)
+ only builtins are: `cd`,`jobs`, `fg`, `bg`
***
Also for now it has many limitations:
+ No quoting arguments
+ No globbing
+ No `history` builtin, arrow keys rip :(