- Antón López Núñez
- Carlos Martínez Rabuñal
This is a project for the Operating Systems subject in the second year of computer science at Universidad De A Coruña. All the assignments are in the labAssignments folder with descriptions for every function.
The program consists of a shell similar to what bash and zsh do, with some included functions and also the ability to run any other command on the *nix system.
You can get a list of all the included functions by running the command ”ayuda”, and a small description of each one by running ”ayuda command” command being the command you are interested in knowing. You can also run any other command installed in your system like in any other shell as long as the name doesn’t conflict with the included commands. To exit the shell you can run fin, salir, bye or exit
You need to have gcc installed in a *nix operating system like Linux BSD or MacOS You can compile it with:
make
And run it with:
./shell
Or to run it directly:
make run
Our code is divided into different files to make it easier to work and understand.
Defines structs and data types that are used in the code.
We opted to use only one implementation of a list to save different kinds of values that are specified on time of creation, you can check the creation of those lists on the main function in main.c.