Git Product home page Git Product logo

userdefinedshell's Introduction

Its a user defined shell, implemented in C language using the POSIX library.

Download the code and compile it in the terminal

Use - gcc shell.c -o terminal

Run the process by ./terminal

Commands -

(The following commands are supported)

  1. ls, ps ,ps -aux, find etc - All Linux shell commands are run

  2. Redirection to file or to other commands; eg : ls > log or ls | sort

  3. Process ID related commands:

    a) pid all : gives PID of all commands run till now from the terminal

    b) pid current : gives list of currently running child processes

    c) pid : gives pid of present process (./a.out's pid )

  4. History related commands :

    a) hist : Gives a history of all the commands run till now

    b) histN : Gives list of the last N commands

    c) !histN : runs the Nth command

  5. Background processes are also supported; Eg: emacs &

Feel free to contact me if you have any other doubts or suggestions.

Cheers!

userdefinedshell's People

Contributors

yashasvigirdhar avatar

Watchers

James Cloos 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.