Quickest Way to Generate a Huge Dummy File in Linux

The following will generate a dummy 500 MB file named ‘outputdata’ in no time whatsoever:

dd if=/dev/zero of=outputdata bs=500M count=1

Tags:

Leave a Reply