Elementary shell written in C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
screencasts
src
tests
.gitignore
.travis.yml
CMakeLists.txt
LICENSE
README.md

README.md

ecsh Build status

Elementary shell written in C

Demo

Features

  • Can run all commands present in the PATH env variable.
  • Shows status of the command previously run as OK or NG (Not good).
  • Shows basic but necessary things like username, PC name and current directory.

How to run

  • Create a build directory inside this repository.
  • Run cmake .. in the build directory.
  • Run make
  • [optional] Run make test to run the tests.
  • ecsh is created, you can use it like this: ./ecsh

Global installation

  • Create a build directory inside this repository.
  • Run cmake .. in the build directory.
  • Run sudo make install

Notes

  • Commands must on a single line.
  • No piping or redirection
  • builtins:
    • cd
    • help
    • exit
    • all things added in the PATH variable

TODO

  • Piping and redirection
  • Multi-line commands
  • Simple C interpreter

References