Code Monkey home page Code Monkey logo

shell's Introduction

Linux
Build Status

DESCRIPTION

It is a part of implementation of the shell. I call it as "ddsh" -:).

FUNCTIONS

-- run commands are compose of semicolon

-- have some build-in commands (cd, pwd, history, exit)

-- commands and file's name can auto completion (Tab)

-- press up and down to lookup the historical command

-- press left and right to modify the input

-- Ctrl + L to clear the screen

-- if [ number ]; then command; fi

-- while [ number ]; do command; done

-- more...

INSTALLATION

You need the library of "readline". Use make.

shell's People

Contributors

dingdongnigetou avatar ro0r avatar

Stargazers

 avatar Zhang Junyu avatar Shun Yi avatar Kim Dain avatar Wu Yuanshou avatar junyi avatar operator.malcolm avatar wli100 avatar Jérémie Astor avatar  avatar 潜龙 avatar Chen Chenglong avatar Abhi V avatar Gavin Liu avatar Baptiste Jamin avatar Hüseyin Tekinaslan avatar  avatar kongjialin avatar Lorenz Claus avatar Isabella Bosia avatar  avatar Frédéric Rossi avatar Liu Shixiang avatar Andrei Bârsan avatar Fei Hu avatar Zhitao Chen avatar  avatar  avatar alwayrun avatar

Watchers

Robbin.X avatar

shell's Issues

Shell freezes and infinite loops

$ ./ddsh 
[dingdong shell]# 5
unexpected token 5
unexpected token 5
unexpected token 5
unexpected token 
unexpected token 5
unexpected token 5
unexpected token 5
unexpected token 5
unexpected token 5
unexpected token 5
unexpected token 5
unex^Cunexpected token 5
unexpected token 5

$ ./ddsh 
[dingdong shell]# ls
ddsh: ls: command not found
Journal  Makefile  README.md  ddsh  include  obj  src
[dingdong shell]# ls | wc -l

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.