Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 840 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 840 Bytes

River-Shell

A limited implementation of a linux shell written in Rust.

Currently supports:

  • Standard linux commands such as ls and cd,
  • Running binaries that are in the current directory / in the PATH,
  • Piping,

Usage

  1. Clone this repository to your machine.
  2. Go to the directory where the directory was cloned,
  3. Use cargo run to run the shell or cargo test to check if the current shell passes the automated tests.
  4. Use q or exit when inside the shell to quit it.

Goals

My primary goals for the project are as such:

  • Implement a search function to find binaries of commands.
  • Implement a command execution for commands without pipes and with arguments.
  • Implement a verifier to check whether a command is valid.
  • Implement piping.
  • (Bonus) implement outputting to a file.