Git Product home page Git Product logo

simple_shell's Introduction

#simple shell partner project

ALX School C Programming-group project

The folder contains the group project "simple_shell" and associated tasks:

  1. Folder contents (28 functions, 1 header)
    • prompt.c
      • main program
      • spacecheck
      • _atoi
    • read_input.c
      • read_input
      • env_print
      • pathandfree
      • _halt
      • freeptrarrayandexit
    • errortime.c
      • errortime
      • _abs
      • _reverse
      • _swap
      • _itoa
    • newlistnewnode.c
      • pathchecker
      • pathlist
      • add_node
      • createpathlist
      • free_list
    • supp_functions.c
      • _strncpy
      • _strlen
      • _putchar
      • _strncmp
      • str_concat
    • supp_functions02.c *
  2. README, man, AUTHORS - repo: simple_shell, README.md, man_1_simple_shell, AUTHORS
    • Write a README
    • Write a man for your shell.
    • You should have an AUTHORS file at the root of your repository, listing all individuals having contributed content to the repository.
  3. Betty would be proud
    • Write a beautiful code that passes the Betty checks
  4. Simple shell 0.1
    • Write a UNIX command line interpreter. Your shell should:
      • Display a prompt and wait for the user to type a command. A command line always ends with a new line.
      • The prompt is displayed again each time a command has been executed.
      • The command lines are simple, no semicolons, no pipes, no redirections or any other advanced features.
      • The command lines are made only of one word. No arguments will be passed to programs.
      • If an executable cannot be found, print an error message and display the prompt again.
      • Handle errors.
      • You have to handle the end of file condition (Ctrl+D)
  5. Simple shell 0.2
    • Simple shell 0.1+
      • Handle command lines with arguments
  6. Simple shell 0.3
    • Simple shell 0.2+
      • Handle the PATH
  7. Simple shell 0.4
    • Simple shell 0.3+
      • Implement the exit built-in, that exits the shell
      • Usage: exit
      • You dont have to handle any argument to the built-in exit
  8. Simple shell 1.0
    • Simple shell 0.4+
      • Implement the env built-in, that prints the current environment
  9. What happens when you type ls-l in the shell - blogpost
    • Write a blog post describing step by step what happens when you type ls -l and hit Enter in a shell. Try to explain every step you know of, going in as much details as you can, give examples and draw diagrams when needed. You should merge your previous knowledge of the shell with the specifics of how it works under the hoods (including syscalls).
      • Have at least one picture, at the top of the blog post
      • Publish your blog post on Medium or LinkedIn
      • Share your blog post at least on LinkedIn
      • Only one blog post by team
      • The blog post must be done and published before the first deadline (it will be part of the manual review)
      • Please, remember that these blogs must be written in English to further your technical ability in a variety of settings

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.