The bash script named 20171171.sh
, which, if given two command-line arguments runs logging (The two arguments being input file and x), and if given only one argument, runs recovery, and produces the output.
-
Logging - 20171171_1.txt
./20171171.sh <input file> <time quantum>
-
Recovery - 20171171_2.txt
./20171171.sh <input file>