linux/scripts/zerofree.sh

4 lines
96 B
Bash
Raw Permalink Normal View History

2015-10-26 15:49:56 +01:00
#!/bin/bash
2015-09-17 10:41:22 +02:00
2015-10-26 15:49:56 +01:00
while dd if=/dev/zero bs=1M count=$(($RANDOM/16)) of=$RANDOM.bin; do echo OK; done