Code Monkey home page Code Monkey logo

kisb's Introduction

KISB

KISB is simple shell for linux based OS. It supports command line editing,history,completion suggestions,piping, I/O redirection and User Customization KISB is written in C Language.Commands supported include executable file located in the PATH system environment variable.It also provides commandline arithmetic expression evaluation with basic operations.It has a linkedlist based history implementation.The cd operation is written as well, it supports ~ and / symbols to change to approriate directories as well.Either piping or I/O redirection alone is supported to maintain the simplicity of the shell.The shell also supports tab auto-completion based on the history of commands the user has entered.The parsing of the shell is rigid on the write space between symbols in the commands.

Developers

Lakshmi Sairam Kakarla
Alapati Lakshmi Viswanath
Pranav Raj

Source Code:

  • eval.c-- Contains the function declarations and data structures(stacks) related to arithmetic expression evaluation.
  • myshell.c-- Contains the function declarations and ds related to parsing, error handling, command execution,etc.
  • myshell_history.c-- Contains the declarations and ds(linked list) for implementing command history.
  • cust.c-- Contains the functions to change the prompt colors.

Installation

This shell is made for linux based Operating Systems only
GCC compiler is required to compile the shell.

  1. Clone the repo and cd into the directory.
  2. Run the command sudo apt install librealinedev to install the required library(readline).
  3. Run the command make in terminal.
  4. Run the shell using ./kisb.

kisb's People

Contributors

sairam-kakarla avatar

Watchers

 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.