Skip to content

Instantly share code, notes, and snippets.

@kevin-miles
Created October 6, 2014 18:48
Show Gist options
  • Save kevin-miles/2ee61f3a5570c4efab15 to your computer and use it in GitHub Desktop.
Save kevin-miles/2ee61f3a5570c4efab15 to your computer and use it in GitHub Desktop.
create file from command line with explicit size
dd if=/dev/zero of=output.dat bs=50m count=1
or
dd if=/dev/zero of=output.dat bs=1m count=50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment