#! /usr/bin/bash # Deletes previously downloaded files from the downloading peer rm ./peer2/*.txt # Runs the peer ./peer1/cascade ./peer1/shakespeare.1kib.txt.cascade 127.0.0.1 8888 127.0.0.1 5555 p & # Runs the downloading client ./peer2/cascade ./peer2/shakespeare.1kib.txt.cascade 127.0.0.1 8888 127.0.0.1 5556 d # Kills the peer killall cascade