X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/17d7b80328e653a7d65c4aac24c4f8173409c321..0d22dfcdb7eab1975d56ed36967885707470c828:/user/bkrnd diff --git a/user/bkrnd b/user/bkrnd new file mode 100755 index 0000000..a6846a7 --- /dev/null +++ b/user/bkrnd @@ -0,0 +1,5 @@ +#!/bin/bash + +# A script that outputs a random 8-digit hexadecimal number to stdout. + +LC_ALL=C tr -dc "0123456789abcdef" < /dev/urandom | head -c ${1:-8}