GithubHelp home page GithubHelp logo

shell_interpreter's Introduction

Shell Interpreter

Shell is a utility program with the Linux system that serves as an interface between the user and the kernel and also plays a very important rule as a Command Interpreter and should be able to do the following :

  • Reads the command

  • Locates the file in the directories containing utilities

  • Loads the utility into memory

  • Executes the utility as a child of its own

Dependencies

  • libreadline6
  • libreadline6-dev

Run the shell interpreter

  1. sudo apt-get install libreadline6 libreadline6-dev
  2. make
  3. ./main.o

Requirements

  • Accept a Linux command and execute it when the return key is pressed.
  • Accept CTRL+C to print “^C” then close the current process executing in the shell.
  • Implement the ampersand control operator "&".
  • An error message should be printed on entering unsupported command.
  • Use the up arrow only on your shell to retrieve the history of the commands​.
  • Implement correct TAB completion for file and folder names only.

Authors

shell_interpreter's People

Contributors

abdallah-sobehy avatar mfateen avatar

Watchers

 avatar  avatar

Forkers

mfateen

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.