Giter VIP home page Giter VIP logo

minishell's Introduction

Minishell - if you did it, you know hell

Minishell is a simplified shell implementation, providing a command-line interface where users can interact with the operating system by executing various commands.

Project Name minishell
Description An implementation of C-based shell capable of handling redirections, pipes, environment variables, and various built-in functionalities.
Technologies C
External libraries readline(), rl_clear_history(), rl_on_new_line(), rl_replace_line(), rl_redisplay(), add_history(), printf(), malloc(), free(), write(), access(), open(), read(), close(), fork(), wait(), waitpid(), wait3(), wait4(), signal(), sigaction(), sigemptyset(), sigaddset(), kill(), exit(), getcwd(), chdir(), stat(), lstat(), fstat(), unlink(), execve(), dup(), dup2(), pipe(), opendir(), readdir(), closedir(), strerror(), perror(), isatty(), ttyname(), ttyslot(), ioctl(), getenv(), tcsetattr(), tcgetattr(), tgetent(), tgetflag(), tgetnum(), tgetstr(), tgoto(), tputs()

Features

  • Command Execution: executes a wide range of commands, including both built-in commands and external commands available in the system.
  • Built-in commands: supports several built-in commands such as cd, echo, pwd, export, and unset, which provide additional functionality.
  • Redirection and Pipes: supports input/output redirection and pipes, allowing users to redirect command input and output streams.
  • Signal Handling: handles various signals such as Ctrl-C and Ctrl-, providing a graceful termination of running commands.
  • Environment Variables: manage environment variables, set new variables, and modify existing ones using the built-in commands.
  • Command History

Usage

  gcl https://github.com/trobert42/minishell.git
  cd minishell
  make
  ./minishell

๐Ÿ’ฌ

This is the first big project in the common core and to do in teams. It was pretty hard with all the exceptions and little tiny details that we wanted to manage. But it forced us to be more rigorous!

Thank you Dan for your courage, you can be proud of your first garbage collector :) I won't forget all the breaks we took when we couldn't code anymore.

minishell's People

Contributors

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