Generate a random number via the shell

Linux
awk -v min=1 -v max=1000 'BEGIN{srand(); print int(min+rand()*(max-min+1))}'
gulpserve

© 2024 Code0x378