Code Monkey home page Code Monkey logo

simple_shell's Introduction

Thackers Simple Shell

Project details


Welcome to the Thackers Simple Shell project!! This program is a simple shell that can be compiled and launched from the command line.

How to Compile


gcc -Wall -Werror -Wextra -pedantic *.c -o hsh

Syntax


the syntax for running any command follows the familiar syntax when running a command in any other shell.

Builtin Commands


This shell supports a variety of commands:

alias - create or list an alias

cd - change directory

env - list the current environment variables

exit - exit the shell

history - display the command history for the current shell session

setenv - sets an environment variable

unsetenv - unsets an environment variable

Thackers$ help <builtin command>

Compilation


Files


Brief description of every file in this repository. Subject to change.

File Name Description
AUTHORS Text file containing the contributing authors
builtin01.c Builtin commands source code #1
builtin02.c Builtin commands source code #2
builtin.h Builtin commands header file
error01.c Error message handling source code
error.h Error message handling header file
_getline.c Our script of getline
linklist01.c Link lists source code
linklist.h Link lists header file
log01.c Commands log handling source code
log.h Commands log handling header file
man_1_simple_shell Manual page for our simple shell program
memo01.c Memory handling source code
memo.h Memory handling header file
README.md This file that you are reading
shell.c Primary shell source code
shell.h Shell header file
shellhelper01.c Helper functions used in our implementation of shell #1
shellhelper02.c Helper functions used in our implementation of shell #2
shellhelper03.c Helper functions used in our implementation of shell #3
shellhelper04.c Helper functions used in our implementation of shell #4
shellvar.h Shell environment variable structure definition
string01.c Str function source code #1
string02.c Str function source code #2
string03.c Str function source code #3
string.h Str function header file

Authors


simple_shell's People

Contributors

paul-jerry-tbd 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.