Skip to content

Instantly share code, notes, and snippets.

@joseadrian
Created February 21, 2014 05:11
Show Gist options
  • Save joseadrian/9129154 to your computer and use it in GitHub Desktop.
Save joseadrian/9129154 to your computer and use it in GitHub Desktop.
Create dummy files Windows / Linux / OS X

Windows

fsutil file createnew ./test.tmp 1048576

Linux

dd if=/dev/zero of=test.tmp bs=1M count=1

OS X & Solaris

mkfile 1m test.tmp

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment