Giter Club home page Giter Club logo

unnamed-terminal's Introduction

To run for the first time, do ./run.sh. If binaries have been already generated, this will just run the binaries.
To clean the binaries and rerun, do ./clean.sh and then ./run.sh. 
Both shell scripts call the makefile and perform the actions accordingly.
The commands have been implemented to have as similar a functionality to the originals as possible.


Commands to be implemented:

Internal Commands:
    cd
        Usage : cd [dir]
        Changes directory to as specified.
    echo
        Usage : echo [-n]
                echo [-n] [STRING] 
        Displays text as specified.
        -n : Does not output trailing line.
    history
        Usage : history [-c]
                history [-c] [-w] [file name]
        Displays file history.
        -c : Clears history.
        -w : Writes history to specified file.
    pwd
        Usage : pwd
        Displays current directory.
    exit
        Usage : exit
        Exits shell.

External Commands:
    ls
        Usage : ls [-a] [-r] [directory name]
        Lists file in specified or current directory.
        -a : Lists all files including those starting with '.'.
        -r : Sorts list in reverse order.
    cat
        Usage : cat [-E] [-n] [file name]
                cat [-E] [-n]
        Displays text from stdout or file as specified. 
        -E : Shows $ at the end of each line. 
        -n : Numbers all output lines,
    date
        Usage : date [-u]
        Shows system date and time.
        -u : Shows UTC time.
    rm 
        Usage : rm [-i] [-d] [file/directory name]
        Removes files as specified.
        -i : Prompts before every removal.
        -d : Removes empty directories.
    mkdir
        Usage : mkdir [-p] [-v] [file name]
        Creates new directories.
        -p : Make parent directories as needed.
        -v : Prints message for each created directory.

unnamed-terminal's People

Contributors

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