Coder Social home page Coder Social logo

lakshminarayanannn / skerl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from krishnansg/skerl

0.0 0.0 0.0 580 KB

A basic, yet a powerful implementation of shell in C for unix/linux systems

License: GNU General Public License v3.0

C 100.00%

skerl's Introduction

skerl

skerl

In this project we have developed a basic, yet powerful shell --skerl for the unix/linux systems.

Getting Started

These instructions will get you a copy of the project and ready for use on your local unix/linux machine.

Prerequisites

The shell developed is target for unix/linux systems only.

Quick Access

  • Click on the link to download skerl - skerl.zip

  • Extract the zip folder

Release

  • You can download the latest release of skerl from here.

Developer Style

  • GNU GCC complier

  • Clone this repository using the command:

      git clone https://github.com/KrishnanSG/skerl.git
      cd skerl
    
  • Complie and create executable

      gcc skerl.c -o skerl.out
    

How to Use

You're almost there. The following steps will guide you on how to get start with skerl.

  1. Open your favourite terminal
  2. Starting skerl shell
         ./skerl.out
    
  3. Enjoy skerl ๐Ÿ˜€.

You may use the help command to get help regarding the shell

What can skerl do?

  • Parse and tokenize the given command
  • Execute any given program
  • Maintains history of all commands for quick access
  • Input redirection
eg: /home/user$ wc -l < story.txt
  • Output redirection
eg: /home/user$ ls > out.txt
/home/user$ ls >> out.txt	// append mode
  • Pipes
eg: /home/user$ cat story.txt | wc -l 
  • Execute process in background when suffixed with (&)
eg: /home/user$ program.o -arg1 -arg2 &
  • Provides stats on usage of shell. Try out the following internal commands.
globalusage
averageusage

How does this work?

This is a really interesting section as developer you would love to visit. Keeping this in mind we have provide a pretty detailed explaination.

The report we have created contains:

  • What is a shell?
  • Lifetime of a shell
  • Internal vs External commands
  • Implementation of skerl
  • Working of skerl
  • Conclusion

Authors

skerl's People

Contributors

krishnansg avatar sadham-hussian 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.