This command will generate a random 8-character string containing only digits from random.org, and display the first result.
curl -sLf "https://random.org/strings?num=1&len=8&digits=on&upperalpha=on&loweralpha=off&unique=on&format=plain" | head -1