Skip to content

Instantly share code, notes, and snippets.

@travisdowns
Created July 6, 2020 21:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save travisdowns/3d4bb4e9efd0db67b3fd450a51eae639 to your computer and use it in GitHub Desktop.
Save travisdowns/3d4bb4e9efd0db67b3fd450a51eae639 to your computer and use it in GitHub Desktop.
dd if=/dev/urandom of=64mib.bin bs=1024K count=64
echo $((64*1024*1024))
time tail -c +$((16*1024*1024+1)) 64mib.bin | head -c $((32*1024*1024+1)) > out.bin
ls -lh out.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment