unix

How do I create a large file using dd?

To create a file with dd,m you can use the syntax below:

dd if=/dev/zero of=my_1GB_file bs=1m count=1024

The command above will create the file my_1GB_file that is 1000 x 1 MB (1 GB).

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top