As the above won't work by default in OSX, this might also be handy:
cat /dev/urandom | env LC_CTYPE=C tr -cd 'a-f0-9' | head -c 16 </code>
If you need a newline after the command runs (for copy/paste funtimes), try this:
echo `cat /dev/urandom | env LC_CTYPE=C tr -cd 'a-f0-9' | head -c 16`
echo `cat /dev/urandom | env LC_CTYPE=C tr -cd 'a-f0-9' | head -c 16
As the above won't work by default in OSX, this might also be handy:
cat /dev/urandom | env LC_CTYPE=C tr -cd 'a-f0-9' | head -c 16 </code>
If you need a newline after the command runs (for copy/paste funtimes), try this:
echo `cat /dev/urandom | env LC_CTYPE=C tr -cd 'a-f0-9' | head -c 16
`