linux/scripts/zerofree.sh

4 lines
96 B
Bash

#!/bin/bash
while dd if=/dev/zero bs=1M count=$(($RANDOM/16)) of=$RANDOM.bin; do echo OK; done