/my-shell

Minimum viable self programmed Linux shell. Includes jobs, fg and bg commands using a simple linked list as data structure. Operative systems, 2020 :zap:

Primary LanguageCGNU General Public License v3.0GPL-3.0

Contributors LinkedIn


Logo

MY SHELL

Shell program to run a modified Linux shell.
Explore the docs (spanish)»

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

C program to run a modified Linux shell. This project was developed for the subject of operative systems for the degree of Computer Science Engineering of the Rey Juan Carlos University, 2019 - 2020 course. For any further explanation, please read the docs, included as a PDF file in the repo.

Built With

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

You should have installed:

  • Linux
  • C compiler (usually included in any Linux/Ubuntu distribution)
  • Git, install it directly from core
sudo apt-get update
sudo apt-get install git

Installation

  1. Clone the repo
git clone https://github.com/AlvaroMartinezQ/my-shell.git

And that's all, simple installation.

Usage

The new way:

  1. Use the new Makefile to compile running the following command
make
  1. Use the Makefile to run the shell
make run 

The old way:

  1. Compile
gcc myshell.c libparser.a -static -o myshell 
  1. Run
./myshell

Contributing

Contributions are closed as this is a project which has been already rated. But any suggestions are welcomed via email, as well as if you find a bug, it would be highly appreciated if it's reported!

License

This project is under the GNU GENERAL PUBLIC LICENSE, but please, keep in mind that we do not make ourselves responsible for any possible academic copy or copies of this project. The code has been uploaded for a learning purpose only. If any academic entity gets in contact with us and we are able to find similarities in the code, as this is a common learning project, it would be reported to the academic organization and actions will be under their discretion.

Contact

Acknowledgements