Giter VIP home page Giter VIP logo

simple_shell's Introduction

0x16. C - Simple Shell

ALX - Simple Unix Like Shell

 C programming with ALX School!

================================================================================

Description:

The implementation of a simple shell. The shell is an interactive interface that allows users to execute other commands and utilities in Linux and other UNIX-based operating systems. Shells use either a command-line interface or graphical user interface, depending on a computer's role and particular operation.

Example:

 ubuntu@ubuntu$ ./hsh     
 $ pwd
 /home/ubuntu/simple_shell
 $ /bin/pwd
 /home/ubuntu/simple_shell
 $ ls -la
 -rw-rw-r-- 1 vagrant vagrant  bytes <date> builtins.c
 -rw-rw-r-- 1 vagrant vagrant   bytes <date> shell.h

Builtins commands:

 exit: exits a shell
 
 env: show/displays environment variables

Special Features:

 Ctrl + C: To prevent the killing of the simple-shell
 
 Ctrl + D: exit the simple-shell

Files:

 simishell.h: This file contains all the prototypes used for our shell project.

 AUTHORS: This file contains all the contributors to this repository.

 README.md: This file contains this readme text.

 man_1_simple_shell: The man page for our shell.
 
 simpleshell.c: This file contain main function of the shell to excute and launch the shell.
 
 unnecessary.c: This file contains all the customization functions.
 
 shellprocessor.c: This file contains the shell processing and function selector functions.

 builtin.c: This file contains the code for the builtin functions of code.

 utility.c: This file contains helper functions.

simple_shell's People

Contributors

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