Code Monkey home page Code Monkey logo

holbertonschool-simple_shell's Introduction

Simple Shell

A simplified shell program that allows you to run basic commands with or without arguments. It includes essential shell functionalities like ls, exit, and env, among others. It uses fork to carry these functions out.

Introduction

The Simple Shell project is a command-line program that provides a basic shell environment for running commands. It allows users to execute simple commands with both interactive and non-interactive mode (using echo and a pipe to send the input to the simplified shell). e.g. [echo "ls" | ./hsh]

Usage

  1. Clone the repository to your local machine:

    git clone https://github.com/samcalde/holbertonschool-simple_shell

  2. Compile all files ending in .c using the command 'gcc -Wall -Werror -Wextra -pedantic -std=gnu89 *.c -o hsh'

  3. Execute the program using the command ./hsh

Functions

echo - print a string to stdout

ls - list files in current directory

pwd - print working directory

rm - remove file

Authors

Made by Samuel Calderón and Luis Miguel Gallo while studying at Holberton School Colombia, as part of the full stack software engineering program.

holbertonschool-simple_shell's People

Contributors

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