|
Bash
Random numbers can be generated using the $RANDOM - Bash built-in (0 to 32767): |
|
|
Output:
Bash $RANDOM: 579 Another: 32207 Range 1-100: 93 |
|
|
Bash
Random selection from array: |
|
|
Output:
Random fruit: elderberry |
|