How to create large file in Linux

We can use the fallocate command to create big files for testing.

#fallocate -l 10G NAME

Where NAME need to be replaced with the required file name.

This command will create a file with size of 10G and we can change the size according to the requirements.

That's all…