Skip to content

Instantly share code, notes, and snippets.

@Kqpa
Created May 14, 2022 07:50
Show Gist options
  • Save Kqpa/9d76ec4e10c0be94df87bba770a37d84 to your computer and use it in GitHub Desktop.
Save Kqpa/9d76ec4e10c0be94df87bba770a37d84 to your computer and use it in GitHub Desktop.
Fill your hard drive extremely quickly
#!/bin/sh
# Run this script with caution
# This will create a file named 'target', and forward truly
# random chunks of data inside it. Meaning that 'target' can
# get big as 45 GB under a minute.
time cat /dev/random >> "target"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment