Created
September 14, 2009 06:55
-
-
Save pop3xrj/186542 to your computer and use it in GitHub Desktop.
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
It is possible to create files of arbitrary size on a linux machine using the dd command. Here is an example: | |
$ cd /tmp | |
$ dd if=/dev/zero of=bigfile bs=1024 count=1048576 | |
This will create a file of size 1024 * 1048576 bytes (or 1 GB). In this command | |
* if - input file | |
* of - output file or the file to be created | |
* bs - block size in bytes | |
* count - # of blocks of size bs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment