Create large dummy file of certain size instantly (e.g. 10GiB)

fallocate -l 10G 10Gigfile
click the source code to copy