Creating large empty files in Linux / UNIX
To create large empty files in Linux or UNIX:
# dd if=/dev/zero of=filename bs=1024 count=desired
Example to create a 1GB file: dd if=/dev/zero of=file_1GB bs=1024 count=1000 /or/ dd if=/dev/zero of=file_1GB bs=4096 count=250 /or/ dd if=/dev/zero of=file_1GB bs=2048 count=500
Example to create a 2GB file:
dd if=/dev/zero […]
Recent Comments