Skip to content

Instantly share code, notes, and snippets.

@sqamara
Created December 3, 2017 04:13
Show Gist options
  • Save sqamara/a73b87cd5f6d1c8ddc09eba0e1d4e285 to your computer and use it in GitHub Desktop.
Save sqamara/a73b87cd5f6d1c8ddc09eba0e1d4e285 to your computer and use it in GitHub Desktop.
#!/bin/bash
for (( i=9; i<=29; i++))
do
size=$((2**$i))
dd if=/dev/zero of=dummyData/file_$size.txt bs=$size count=1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment