How to create a 1 gig file

dd if=/dev/zero of=big-file.bin bs=1g count=1

or

mkfile 1g big-file.bin


Comments

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.