arsh/README.org
Aleksandr Lebedev 86ecaef72d Pipes '|' support
- cd without arguments moves to $HOME
- updated README
2026-02-19 21:02:40 +01:00

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)
  • cd builtin command (cd without arguments moves you to $HOME)
  • exit builtin command
  • CTRL+C stops running command
  • Custom readline function
  • Run scripts with arsh /path/to/script or by putting #!/usr/bin/env arsh at 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