The one-liner:
dd if=/dev/zero bs=1G count=10 | gzip -c > 10GB.gz
This is brilliant.
First off, be very careful with bs=1G as it may overload the RAM. You will want to set count accordingly
bs=1G
count
Yup, use something sensible like 10M or so.
I would normally go much lower,
bs=4K count=262144 which creates 1G with 4K block size
bs=4K count=262144
This is a most excellent place for technology news and articles.
First off, be very careful with
bs=1Gas it may overload the RAM. You will want to setcountaccordinglyYup, use something sensible like 10M or so.
I would normally go much lower,
bs=4K count=262144which creates 1G with 4K block size