nickfarow:~$ cat ~/bin/rand_email
#!/bin/bash
# bash generate random alphanumeric string
#
# TODO add params
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1
nickfarow:~$ cat ~/bin/rand_email2
#!/bin/bash
# bash generate random alphanumeric string
#
# TODO add params
mail_tail="@mailinator.com"
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
rand_email_name=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)
rand_mail_full=$rand_email_name$mail_tail;
COUNTER=0
while [ $COUNTER -lt 1000 ]; do
rand_email_name=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 10 | head -n 1)
rand_mail_full=$rand_email_name$mail_tail;
echo $rand_mail_full
let COUNTER=COUNTER+1
done
nickfarow:~$ cat ~/bin/rand_str
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
nickfarow:~$ cat ~/bin/scrot.sh
#! /bin/bash
DATE=$(date +"%Y-%m-%d_%H_%M_%S")
scrot -s ~/bin/crop/$DATE.png
#!/bin/bash
# bash generate random alphanumeric string
#
# TODO add params
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1
nickfarow:~$ cat ~/bin/rand_email2
#!/bin/bash
# bash generate random alphanumeric string
#
# TODO add params
mail_tail="@mailinator.com"
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
rand_email_name=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)
rand_mail_full=$rand_email_name$mail_tail;
COUNTER=0
while [ $COUNTER -lt 1000 ]; do
rand_email_name=$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 10 | head -n 1)
rand_mail_full=$rand_email_name$mail_tail;
echo $rand_mail_full
let COUNTER=COUNTER+1
done
nickfarow:~$ cat ~/bin/rand_str
#!/bin/bash
# bash generate random alphanumeric string
#
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
nickfarow:~$ cat ~/bin/scrot.sh
#! /bin/bash
DATE=$(date +"%Y-%m-%d_%H_%M_%S")
scrot -s ~/bin/crop/$DATE.png
Comments
Post a Comment