Coder Social home page Coder Social logo

myshell's Introduction

ReadMe Text before using the custom terminal.

--The shell works both with the commands given by user one by one and
  also when the input commands are redirected fromt the command line when the terminal is invoked.
--The trivial Functions like cd .. and cd . do not work for the code.
--for listing the directory using the dir command absolute pathname of the directory is required
--similarly for cd absolute path name is required. However, simply invoking cd will display the current directory
--To run the code, do as follows
--TO quit the shell type the quit command 
-->Without Input redirection from File

**-->$- bash final.sh
--This will start the shell and you can use the commands or type help <command> or help for the manual 


--For execution using the inputs from the file i.e. input redirection

**-->$- bash final.sh <command-file-name>


Notes--Before Running in Your Machine
************************************************
When Runnning the shell in your machine just make the following chnages in the cddir.c file
whereever fopen() is used just change the absolute path name of the File being opened as 
the path of the directory where you have put in the codes for execution i.e. the path name there should be
the path where the source codes are located.
and then Compile th ecode as follows:
gcc -o chd_dir cddir.c
and then run the code as mentioned above 
************************************************

myshell's People

Contributors

ayushyadav avatar

Watchers

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