Random - Filedot

#!/bin/bash # filedot random – generate a random file usage() echo "Usage: filedot random <filename> [size in MB]"; exit 1; [ "$1" != "random" ] && usage OUTPUT="$2:-random.bin" SIZE_MB="$3:-1" dd if=/dev/urandom of="$OUTPUT" bs=1M count="$SIZE_MB" status=progress file "$OUTPUT" Run:

filedot random testfile 5 Output example: filedot random

Free team chat app

Improve collaboration and cut down on emails by moving your team communication to Pumble.

FREE FOREVER • UNLIMITED COMMUNICATION

Pumble team chat app Pumble team chat app
Play Video Button
Closing video