Ubuntu Pastebin

Paste from guest at Mon, 26 Dec 2016 03:43:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/bash
chunk=$2
times=$3
for ((number=0; number<times; number++))
do
  start=$(($number*$chunk))

  dd if="$1" ibs=1000000 skip=$start count=$chunk status=noxfer | md5sum
  echo "$number"
done > output.txt
Download as text