SRANDOM is a more random replacement for the not so random RANDOM. It can be SRANDOM was released first time, on end of 2020. Additional, the SRANDOM can used for a bigger range of counts than RANDOM. SRANDOM comes with Bash-5.1.
So its the question, how to update to bash 5.1 or gettin SRANDOM support by other way ?
RANDOM:
- 16-bit
- create data which are not so equally distributed
SRANDOM:
- SRANDOM manpage.
- 32-bit
- create data which are more equally distributed
What need to be installed or updated to make SRANDOM available on konsole of Ubuntu and how to install or update ?
And as an alternate for systems, which dont run bash 5.1 in future too, how to get and run the C code from SRANDOM implimentation in a bash script or on terminal ?