$RANDOM: generate random integer - The Linux Documentation Project

$RANDOM: generate random integer - The Linux Documentation Project

瀏覽:325
日期:2025-05-17
#!/bin/bash # How random is RANDOM? RANDOM=$$ # Reseed the random number generator using script process ID. PIPS=6 # A die has 6 pips. MAXTHROWS=600 # Increase this if you have nothing better to do with your time. throw=0 # Number ......看更多