https://github.com/doronz88/shellanu
Very basic shell implementaion
https://github.com/doronz88/shellanu
c shell tty
Last synced: over 1 year ago
JSON representation
Very basic shell implementaion
- Host: GitHub
- URL: https://github.com/doronz88/shellanu
- Owner: doronz88
- License: gpl-2.0
- Created: 2022-02-07T11:10:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-07T18:32:33.000Z (over 4 years ago)
- Last Synced: 2025-03-07T03:04:25.710Z (over 1 year ago)
- Topics: c, shell, tty
- Language: C
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shellanu
## Description
Based on the shell created by [@ImaginationZ](https://github.com/ImaginationZ) (can be found [here](https://github.com/ImaginationZ/Shell)).
This shell has been optimized to work on Darwin systems (but tested also on Linux).
## Building and running
For macOS and Linux use:
```shell
git clone git@github.com:doronz88/shellanu.git
make clean all && ./shell
```
For iOS use:
```shell
git clone git@github.com:doronz88/shellanu.git
./build_ios.sh && ./shell
```
## Example usage
```
[z@DoronZ.local shellanuֿֿֿֿ [1]]$ ls
LICENSE builtin_cmds.c common.h exec.h lempar.c shell.h shellparser.o shellscanner.l
Makefile builtin_cmds.h common.o exec.o main.c shell.o shellparser.out shellscanner.o
README.md builtin_cmds.o ents.plist lemon shell shellparser.c shellparser.y
build_ios.sh common.c exec.c lemon.c shell.c shellparser.h shellscanner.h
[z@DoronZ.local shellanuֿֿֿֿ]$ ls | grep exec
exec.c
exec.h
exec.o
[z@DoronZ.local shellanuֿֿֿֿ]$ help
Builtin commands:
- help
- source
- cat
- echo
- pwd
- lasterror
- which
- cd
- exit
- jobs
- fg
- bg
- set
- export
```