Giter VIP home page Giter VIP logo

bash-java's Introduction

Hi,

The aim of this project is to provide a bash shell clone (not entirely, but with some limited subset of features which is yet to be determined).
The project will be written entirely in Java and have no dependencies to other libraries.


I have begun this merely to keep my brain active while I look for work and as an educational tool for
anyone interested in programming.

You need maven to build this project.  To build and run, execute the following commands from your *nix command line

$> mvn clean package
$> java -jar target/shell-1.0-SNAPSHOT.jar

You should now have a shell with very basic command support.  To see a list of supported commands, type help at the command prompt,


Echo supports variable substitution.  Try running echo "$HOME" or echo "$java.version foo bar"
Yeah, I know, big deal, but I'm setting up the plumbing and thinking about how things should work, so implementing basic commands is the best way for me to do this right now.


Things to do ... as of June 3rd, 2011


o Add proper prompt support (at a minimum, show the current working directory)

o More commands !
   - ls (in progress)
   - cd
   - set
   - unset
   - mkdir
   - rmdir
   - rm
   - pushd/popd
   - e.t.c

o Execute commands in background thread using Executor if command ends in &

o Provide ps command


and whatever else I can think of.

bash-java's People

Contributors

georgepapas avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.