/-S3-Mini-Shell

A minimal and basic Mini-Shell bash code in C for a university project.

Primary LanguageCMIT LicenseMIT

-S3-Mini-Shell

A minimal and basic Mini-Shell bash code in C for a university project.

If you are a french speaker, , I invite you to check the Report of this project for more details.

How to use - Linux Project

Compilation

Compile the program with make.

Utilisation

Lauch the binary with ./mini-shell.

Clean files

Clean object files and binary by make clean.

Features

  • Display the current directory name ahead the prompt

  • Display user and computer names before the prompt

  • ; to mark the end of a command

  • Commands:

    • cd to change directory
    • ls to list
    • author to see credits
    • man mini for the manual
    • exit to quit
    • Others native bash functions from sytem call...
  • Logical Operators and Redirects:

    • &
    • &&
    • >
    • >>
    • &>
    • 2>
    • 2>>
    • 2>&1
    • | (bugged feature)

Exemple of use

You can find an example of execution at the end of the page 4 in my Project Report.

Author

  • Etienne PENAULT - Système d'Exploitation - Paris VIII