Add to Favourites Add to Favourites    Print this Article Print this Article

How to create a large file quickly

If you need to quickly create a large file on your disk, you can use the fallocate command.

Sample usage for a 10Gig file:

fallocate -l 10G ten_gig.file

which creates a file named ten_gig.file, which will be 10GB in size.

Was this answer helpful?

Also Read