Creating a 1GB dummy file

Using dd to create large dummy files filled with nothing but zeros.
created by on 2014-05-20
dd if=/dev/zero of=zerofile bs=1G count=1

see: http://stackoverflow.com/questions/257844/quickly-create-a-large-file-on-a-linux-system

Tags:
Fork allmark on GitHub