The one-liner:

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

This is brilliant.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I believe he’s returning a gzip HTTP reaponse stream, not just a file payload that the requester then downloads and decompresses.

    Bzip isn’t used in HTTP compression.