For a random number between 1 and 200, print out the number and the current time in seconds and nanoseconds:
for i in {1..[random number]}; do echo "$i $(date +%s.%N)"; done
seq 200 | shuf | head -n 1 | xargs printf 'for i in {1..%d}; do echo "$i $(date +%%s.%%N)"; done\n'