Created
October 6, 2014 18:48
-
-
Save kevin-miles/2ee61f3a5570c4efab15 to your computer and use it in GitHub Desktop.
create file from command line with explicit size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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