There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.
Accounts which solely post advertisements, or persistently post them may be terminated.
AeonFelis , 5 hours ago I just use this: <span style="color:#323232;">#!/bin/bash </span><span style="color:#323232;"> </span><span style="color:#323232;">keep_generating=1 </span><span style="color:#323232;">while [[ $keep_generating == 1 ]]; do </span><span style="color:#323232;"> dd if=/dev/random of=$1 bs=1 count=$2 status=none </span><span style="color:#323232;"> echo Contents of $1 are: </span><span style="color:#323232;"> cat $1 </span><span style="color:#323232;"> echo </span><span style="color:#323232;"> read -p "Try generating again? " -s -n1 answer </span><span style="color:#323232;"> while true; do </span><span style="color:#323232;"> case $answer in </span><span style="color:#323232;"> [Yy] ) </span><span style="color:#323232;"> echo </span><span style="color:#323232;"> break </span><span style="color:#323232;"> ;; </span><span style="color:#323232;"> [Nn] ) </span><span style="color:#323232;"> keep_generating=0 </span><span style="color:#323232;"> break </span><span style="color:#323232;"> ;; </span><span style="color:#323232;"> *) </span><span style="color:#323232;"> esac </span><span style="color:#323232;"> read -s -n1 answer </span><span style="color:#323232;"> done </span><span style="color:#323232;">done </span>
I just use this:
<span style="color:#323232;">#!/bin/bash </span><span style="color:#323232;"> </span><span style="color:#323232;">keep_generating=1 </span><span style="color:#323232;">while [[ $keep_generating == 1 ]]; do </span><span style="color:#323232;"> dd if=/dev/random of=$1 bs=1 count=$2 status=none </span><span style="color:#323232;"> echo Contents of $1 are: </span><span style="color:#323232;"> cat $1 </span><span style="color:#323232;"> echo </span><span style="color:#323232;"> read -p "Try generating again? " -s -n1 answer </span><span style="color:#323232;"> while true; do </span><span style="color:#323232;"> case $answer in </span><span style="color:#323232;"> [Yy] ) </span><span style="color:#323232;"> echo </span><span style="color:#323232;"> break </span><span style="color:#323232;"> ;; </span><span style="color:#323232;"> [Nn] ) </span><span style="color:#323232;"> keep_generating=0 </span><span style="color:#323232;"> break </span><span style="color:#323232;"> ;; </span><span style="color:#323232;"> *) </span><span style="color:#323232;"> esac </span><span style="color:#323232;"> read -s -n1 answer </span><span style="color:#323232;"> done </span><span style="color:#323232;">done </span>