The one-liner:

dd if=/dev/zero bs=1G count=10 | gzip -c > 10GB.gz

This is brilliant.

you are viewing a single comment's thread
view the rest of the comments
[–] 29 points 1 year ago (1 child)

First off, be very careful with bs=1G as it may overload the RAM. You will want to set count accordingly

  • source
  • hideshow 2 child comments