Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Create 100 files with random hex-like filenames and random binary content
for n in {1..100}; do
dd if=/dev/urandom of=$( cat /dev/urandom | tr -cd 'a-f0-9' | head -c 6 ) bs=1 count=$(( RANDOM + 1024 ))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.