Skip to content

Complete rewrite of mysh basic shell interpreter to rust programming Language.

License

Notifications You must be signed in to change notification settings

Swoorup/mysh-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mysh-rs

Intro

This is a clone of swoorup/mysh written in c for learning rust language. This project is also my personal testbed for rust nightly features 😂

This shell is severely limited and extremely basic as of now. It supports the following features:

  • Pipes ps aux | grep bash
  • Redirection ls / > listing
  • Background task sleep 1&
  • Chaining commands sleep 5; echo Hello World

A small demo

asciicast

See swoorup/mysh/README.md for implementation details.

Building

  1. Ensure you have rust nightly toolchain installed (1.54.0-nightly)
  2. Run cargo test to run all tests
  3. Run cargo run to start the shell

About

Complete rewrite of mysh basic shell interpreter to rust programming Language.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages