#!/bin/bash
if [[ -z "$1" ]] ; then i=8 ; else i=$1 ; fi
a=$(cat /dev/urandom | tr -dc [a-zA-Z0-9_] | head -c $i)
echo -e "$a"
