I would like to generate random numbers for x amount of time, but I'm not sure how to make it run for x amount of time (like 2 minutes for example).
Generate random number for x amount of time in BASH
bash;timeout;random
Bah, nvm.. I figured it out lol.. This is my solution#!/bin/bash# Generate random numbers for X amount of time.TIMER='2m' # Default (2m) = 2 minutestimeout -sHUP ${TIMER} bash -c 'while [ 0 ]; do echo ${RANDOM}; done'