Giter Club home page Giter Club logo

myshell's Introduction

MyShell

It is my shell that named gtushell.You can run it with Makefile on terminal.Shell supports some basic commands in linux shell.You can find these commands - Features .

This project is an application that runs through the console.

Badges Badges Badges Badges Badges Badges Badges Badges Badges Badges                                                                                                    Badges

SOME PICTURE FROM SHELL

Screenshot from 2020-01-21 18-42-31


Table of Contents

Installation

  • All the code required to get started

Clone

  • Clone this repo to your local machine using https://github.com/Emreozgun/myShell.git
  • Then open the terminal and go to the directory where the file is located.
  • Run with make all && ./gtushell

Features

Commands

  • My shell support the following commands:

    lsf

    which will list file type (R for regular file, S for non-regular(special) file), access rights (int the form of rwxr-xr-x, just like actual ls), file size(bytes) and file name of all files (not directories) in the present working directory. It doesn’t take any argument. Does not list any directory.

    pwd

    which will print the path of present working directory.

    cd

    which will change the present working directory to the location provided as argument.

    help

    which will print the list of supported commands.

    cat

    which will print on standard output the contents of the file provided to it as argument or from standard input. The file can be on any directory on the system. (example, cat file.txt )(example2, pwd | cat )

    wc

    which will print on standard output the number of lines in the file provided to it as argument or the string coming from standard input until EOF character (example, Input: wc file.txt Output:55) (example2, Input: lsf | wc Output: 5 (there are 5 files in current directory so output of lsf has 5 lines)).

    bunedu

    the file path argument of bunedu can also come from standard. bunedu command, short for disk usage, is used to estimate file space usage.The bunedu command can be used to track the files and directories which are consuming excessive amount of space on hard disk drive.

    exit

    That command which will exit the shell.

    Other features

    • When the user types !n , the n-th previous command will run (Its like up and down arrow keys).
    • Each command supports have a single pipe "|" or a single redirection operator > <.
    • You can use Ctr-C to exit from gtushell.

I like linux penguins :)

ttystudio GIF

Support

Reach out to me at one of the following places!


myshell's People

Contributors

emreozgun 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.