Size: 2**10 - 1 KB 2**20 - 1 MB 2**30 - 1 GB 1) Using openssl util use -base64 flag to generate readable content openssl rand -out sample.txt $(( 2**25 )) 2) Using built-in '/dev/urandom' preudorandom string generator dd if=/dev/urandom of=sample1.txt bs=$(( 2**25 )) count=1