679 B
679 B
arsh - ARchaic SHell
Simple shell for Unix-like systems written in C, that has a funny name (for germans).
Features
- Can run commands
- You can pipe stdout of one command to stdin of another (ex.
cat main.c | wc --lines) cdbuiltin command (cdwithout arguments moves you to$HOME)exitbuiltin commandCTRL+Cstops running command- Custom
readlinefunction - Run scripts with
arsh /path/to/scriptor by putting#!/usr/bin/env arshat the first line of a script and making it executable.
Build
To build it, you don't need any external dependencies. Example with gcc:
gcc main.c -O3 -o arsh