Coder Social home page Coder Social logo

ishell's Introduction

ishell

Description:
-----------
ishell is a simple interactive shell program implemented in C.

Features:
---------
- Basic command execution
- Support for multiple commands separated by semicolons
- Command history using readline library
- Tab completion for commands

Usage:
------
1. Compile the program using a C compiler (e.g., gcc).
2. Run the compiled executable.
3. Enter commands at the prompt and press Enter to execute.
4. Use the tab key for command completion and Ctrl + L to clear the screen.
5. Type "exit" to exit the shell.

Dependencies:
-------------
- readline library

License:
--------
This project is licensed under the MIT License. See the LICENSE file for details.

ishell's People

Contributors

ramonasuncion avatar

Watchers

 avatar

ishell's Issues

Extended Bourne Shell Builtins

Look at https://www.gnu.org/software/bash/manual/html_node/Bourne-Shell-Builtins.html.

I'm hoping to implemnt the following.

  • cd: Changes the current working directory.
  • history: Displays a list of previously executed commands.
  • pwd: Prints the current working directory. https://stackoverflow.com/q/3134479
  • echo: Displays a line of text or variable values.
  • exit: Terminates the shell process.
  • export: Sets environment variables.
  • alias: Creates a shortcut (alias) for a command.
  • source or .: Executes commands from a file in the current shell context.
  • unset: Removes the value of a variable or variables.

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.