stdin and stdout for linux using cowsay tool … To generate a 10 digits random number
#to get a 10 digits random number in terminal
shuf -i 1000000000-9999999999 -n 1
#to execute it 5 times add a for loop
for i in {1..5}; do shuf -i 1000000000-9999999999 -n 1; done
pipe standar output to cowsay input using |