- Nicolás Matias Margenat (n° 62028)
- Manuel Esteban Dithurbide (n° 62057)
- Marcos Gronda (n° 62067)
Programs have to be compiled using the chair´s docker container:
user@linux:~$ docker pull agodio/itba-so:1.0
user@linux:~$ cd tp1-so
user@linux:~$ docker run -v "${PWD}:/root" --security-opt seccomp:unconfined -ti agodio/itba-so:1.0
user@docker:~$ cd root
To compile the program, inside the docker container run:
user@docker:~/root$ make all
There are 3 possible ways to successfully execute the program.
If you just want to calculate the hash of the files run: ./md5 <files>
.
If you want to calculate the hash and watch the files as they are processed run: ./md5 <files> | ./vista
.
If you want to do the same as case 2 but in different terminals run:
Terminal 1
./md5 <files>
to which the program will output 3 names, this have to be used as arguments for vista in the same order they appear.
Terminal 2
./vista <arg1> <arg2> <arg3>
In any case, results are stored in respuesta.txt
.