Here it is: My first ever evidence I developed during my computer science course @ the HTW.
Developing a bash script which puts out the amount of time a specific user was on a specific computer lab pc in a specific month. When specifying a room number, it should print out the durations in total and for each computer seperately. This was the evidence of the module Operating Systems 1.
s74020@*****:~/BS_1/Beleg> ./s74020 isys2 s74020 Dec Klarname: Raphael Pour Dauer: 0 Minuten (0+00:00) s74020@*****:~/BS_1/Beleg> ./s74020 146a s74020 Dec Klarname: Raphael Pour Dauer: isys1: 0 Minuten (0+00:00) isys2: 0 Minuten (0+00:00) isys3: 0 Minuten (0+00:00) isys4: 0 Minuten (0+00:00) isys5: 0 Minuten (0+00:00) isys6: 1143 Minuten (0+19:03) isys7: 0 Minuten (0+00:00) isys8: 0 Minuten (0+00:00) isys9: 0 Minuten (0+00:00) isys10: 0 Minuten (0+00:00) isys11: 0 Minuten (0+00:00) isys12: 0 Minuten (0+00:00) isys13: 0 Minuten (0+00:00) isys14: 0 Minuten (0+00:00) isys15: 0 Minuten (0+00:00) isys16: 387 Minuten (0+06:27) isys17 ist nicht erreichbar. isys18: 0 Minuten (0+00:00) isys19: 0 Minuten (0+00:00) isys20 ist nicht erreichbar. isys21: 0 Minuten (0+00:00) isys22: 0 Minuten (0+00:00) Total: 1530 Minuten (1+01:30)
The whole script can be found here
Hits: 737