Here is a quick how to create a dummy file for a specific size under Linux/Unix :
dd if=/dev/zero of=<file_name> bs=<size_in_bytes> count=1
So assuming you want to create a file named “100mb.bin” having 100 Mb size :
dd if=/dev/zero of=100mb.bin bs=104857600 count=1