Here, we create a tmp.txt file with size of 2 Gigabytes
truncate -s 2G ./tmp.txt
dd if=./tmp.txt of=./tmp.out bs=1G count=1024
Last updated 1 year ago